diff options
| author | Manolo Gouy <Manolo> | 2016-02-27 14:07:22 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-02-27 14:07:22 +0000 |
| commit | 85b45416e74106910a7f087e633f80615c67de80 (patch) | |
| tree | 69a35be98c2b53e56792d59aa797334d8d1b9815 /src/Fl_Image_Surface.cxx | |
| parent | 0b406baa0f05d8b829d2c35b10c8450e7628be53 (diff) | |
Remove signed/unsigned comparison warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Image_Surface.cxx')
| -rw-r--r-- | src/Fl_Image_Surface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index 747b051af..eaa5cc975 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -240,7 +240,7 @@ static int find_slot() { // return an available slot to memorize an Fl_Image_Sur for (int num = 0; num < count; num++) { if (!offscreen_api_surface[num]) return num; } - if (count >= sizeof(offscreen_api_surface)/sizeof(Fl_Image_Surface*)) return -1; + if ((unsigned)count >= sizeof(offscreen_api_surface)/sizeof(Fl_Image_Surface*)) return -1; return count++; } |
