diff src/glyphs-x.c @ 274:ca9a9ec9c1c1 r21-0b35

Import from CVS: tag r21-0b35
author cvs
date Mon, 13 Aug 2007 10:29:42 +0200
parents c5d627a313b1
children 6330739388db
line wrap: on
line diff
--- a/src/glyphs-x.c	Mon Aug 13 10:28:54 2007 +0200
+++ b/src/glyphs-x.c	Mon Aug 13 10:29:42 2007 +0200
@@ -2696,7 +2696,7 @@
 #endif
 struct gif_error_struct
 {
-  char *err_str;		/* return the error string */
+  CONST char *err_str;		/* return the error string */
   jmp_buf setjmp_buffer;	/* for return to caller */
 };
 
@@ -3535,6 +3535,7 @@
 static size_t tiff_memory_write(thandle_t data, tdata_t buf, tsize_t size)
 {
   abort();
+  return 0;			/* Shut up warnings. */
 }
 
 static toff_t tiff_memory_seek(thandle_t data, toff_t off, int whence)