JPEGReader.st
changeset 3085 3e1feabc3c28
parent 3084 0f6faf87f0fd
child 3086 b4301c548ff1
--- a/JPEGReader.st	Fri Jan 25 13:47:20 2013 +0100
+++ b/JPEGReader.st	Fri Jan 25 13:57:54 2013 +0100
@@ -52,7 +52,7 @@
  * come here (please, define as static)
  */
 
-static
+static void
 my_error_exit(cinfo)
     j_common_ptr cinfo;
 {
@@ -64,7 +64,7 @@
     longjmp(myerrPtr->setjmp_buffer, 1);
 }
 
-static
+static void
 my_output_message(cinfo)
     j_common_ptr cinfo;
 {
@@ -293,7 +293,7 @@
 	/*
 	 * Initialize the JPEG decompression object with default error handling.
 	 */
-	cinfoPtr->err = jpeg_std_error(jerrPtr);
+	cinfoPtr->err = jpeg_std_error(&jerrPtr->pub);
 
 	/*
 	 * prepare to handle errors smoothly ...
@@ -677,11 +677,11 @@
 !JPEGReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/JPEGReader.st,v 1.57 2013-01-25 12:47:20 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/JPEGReader.st,v 1.58 2013-01-25 12:57:54 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview2/JPEGReader.st,v 1.57 2013-01-25 12:47:20 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/JPEGReader.st,v 1.58 2013-01-25 12:57:54 stefan Exp $'
 ! !