diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-08-29 20:11:48 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-08-29 20:11:48 +0000 |
| commit | d952d9b9d6dba689f770918af4d66c58fb95c32e (patch) | |
| tree | ec931d54ad8bdc143298cb3e07b2bd283b3a2ff6 /src | |
| parent | ef2f6bd456cab8767b9aed55730412f37e35029f (diff) | |
Fixed signedness of argument to sscanf
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_XBM_Image.cxx | 2 |
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 ++; |
