summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_XBM_Image.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_XBM_Image.cxx b/src/Fl_XBM_Image.cxx
index cd9e390e6..49773bd82 100644
--- a/src/Fl_XBM_Image.cxx
+++ b/src/Fl_XBM_Image.cxx
@@ -88,7 +88,7 @@ Fl_XBM_Image::Fl_XBM_Image(const char *name) : Fl_Bitmap((const char *)0,0,0) {
}
const char *a = buffer;
while (*a && i<n) {
- int t;
+ unsigned int t;
if (sscanf(a," 0x%x",&t)>0) {
*ptr++ = (uchar)t;
i ++;