summaryrefslogtreecommitdiff
path: root/src/Fl_BMP_Image.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-06-10 17:21:53 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-06-10 17:21:53 +0000
commit10c613f88a72dcc5c38d497a75405b12bd0bfbd5 (patch)
tree376c2508308463610893871103e133c9bdb20e23 /src/Fl_BMP_Image.cxx
parentc3cde61e9879825c1547e366e2b9becedc1179e7 (diff)
Take care of some compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_BMP_Image.cxx')
-rw-r--r--src/Fl_BMP_Image.cxx8
1 files changed, 4 insertions, 4 deletions
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 $".
//