harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r672372 - /harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c
Date Fri, 27 Jun 2008 20:16:27 GMT
Author: hindessm
Date: Fri Jun 27 13:16:27 2008
New Revision: 672372

URL: http://svn.apache.org/viewvc?rev=672372&view=rev
Log:
Fix compiler warning.

Modified:
    harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c

Modified: harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c?rev=672372&r1=672371&r2=672372&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/imageio/src/main/native/jpegencoder/shared/JpegEncoder.c
Fri Jun 27 13:16:27 2008
@@ -371,7 +371,7 @@
     if (setjmp(err_mgr->jmp_buffer)) {
         if (!(*env)->ExceptionOccurred(env)) {
             char msg_buffer[JMSG_LENGTH_MAX];
-            cinfo->err->format_message(cinfo, msg_buffer);
+            cinfo->err->format_message((j_common_ptr)cinfo, msg_buffer);
             throwNewExceptionByName(env, "javax/imageio/IIOException",
                                     msg_buffer);
         }



Mime
View raw message