From 73d01dd659f82f2c53fd7cedcf0bbb8d47f70ab2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 20 May 2007 00:01:06 +0000 Subject: Fix all compiler warnings from various build systems. Fix vsnprintf() implementation to properly handle long and long long ints. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_GIF_Image.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_GIF_Image.cxx') diff --git a/src/Fl_GIF_Image.cxx b/src/Fl_GIF_Image.cxx index e40a9d218..9666896cd 100644 --- a/src/Fl_GIF_Image.cxx +++ b/src/Fl_GIF_Image.cxx @@ -153,7 +153,7 @@ Fl_GIF_Image::Fl_GIF_Image(const char *infname) : Fl_Pixmap((char *const*)0) { char bits; bits = NEXTBYTE; - char junk = NEXTBYTE; junk = NEXTBYTE; // GETSHORT(delay); + getc(GifFile); getc(GifFile); // GETSHORT(delay); transparent_pixel = NEXTBYTE; if (bits & 1) has_transparent = 1; blocklen = NEXTBYTE; -- cgit v1.2.3