From 10c613f88a72dcc5c38d497a75405b12bd0bfbd5 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 10 Jun 2002 17:21:53 +0000 Subject: Take care of some compiler warnings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_BMP_Image.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_BMP_Image.cxx') diff --git a/src/Fl_BMP_Image.cxx b/src/Fl_BMP_Image.cxx index dbc6841f0..16c392849 100644 --- a/src/Fl_BMP_Image.cxx +++ b/src/Fl_BMP_Image.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_BMP_Image.cxx,v 1.1.2.4 2002/05/25 02:56:59 easysw Exp $" +// "$Id: Fl_BMP_Image.cxx,v 1.1.2.5 2002/06/10 17:21:49 easysw Exp $" // // Fl_BMP_Image routines. // @@ -75,7 +75,7 @@ Fl_BMP_Image::Fl_BMP_Image(const char *bmp) // I - File to read count, // Number of times to repeat temp, // Temporary color align; // Alignment bytes - unsigned long offbits; // Offset to image data + long offbits; // Offset to image data uchar bit, // Bit in image byte; // Byte in image uchar *ptr; // Pointer into pixels @@ -90,7 +90,7 @@ Fl_BMP_Image::Fl_BMP_Image(const char *bmp) // I - File to read read_dword(fp); // Skip size read_word(fp); // Skip reserved stuff read_word(fp); - offbits = read_dword(fp); // Read offset to image data + offbits = (long)read_dword(fp);// Read offset to image data // Then the bitmap information... info_size = read_dword(fp); @@ -371,5 +371,5 @@ read_long(FILE *fp) { // I - File to read from // -// End of "$Id: Fl_BMP_Image.cxx,v 1.1.2.4 2002/05/25 02:56:59 easysw Exp $". +// End of "$Id: Fl_BMP_Image.cxx,v 1.1.2.5 2002/06/10 17:21:49 easysw Exp $". // -- cgit v1.2.3