Skip to content

Commit

Permalink
Fixed signedness of argument to sscanf
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Matthias Melcher committed Aug 29, 2005
1 parent ef2f6bd commit d952d9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGES
@@ -1,10 +1,11 @@
CHANGES IN FLTK 1.1.7

- Fixed cross-compiling (host: *-linux-* , target: *-mingw32)
problem. Patch provided by Amir Shalem <amir@boom.org.il> in (STR #995) .
- Documentation fixes (STR #571, STR #648, STR #692, STR
#730, STR #744, STR #745, STR #931, STR #942, STR #960,
STR #969)
- Fixed signednes of scanf argument (STR #996)
- Fixed cross-compiling (host: *-linux-* , target: *-mingw32)
problem. Patch provided by Amir Shalem <amir@boom.org.il> in (STR #995) .
- FLUID now knows if a static callback is already declared
in a class and won't declare it 'extern' (STR #776)
- Some actions in FLUID would not set the
Expand Down
2 changes: 1 addition & 1 deletion src/Fl_XBM_Image.cxx
Expand Up @@ -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 ++;
Expand Down

0 comments on commit d952d9b

Please sign in to comment.