diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-12-12 20:50:16 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-12-12 20:50:16 +0000 |
| commit | 843aba4c68dfd22fe1512914a68156d7e3fb6c17 (patch) | |
| tree | 592c264df9d8eaade77ac79e97185d87c11361da /src/Fl_Device.cxx | |
| parent | d17f17e6069ea5a493305b0881b30ad508d8007f (diff) | |
Fix compiler warning [-Wsign-compare].
warning: comparison between signed and unsigned integer expressions
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12145 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Device.cxx')
| -rw-r--r-- | src/Fl_Device.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx index bec74b93e..2c3aa1525 100644 --- a/src/Fl_Device.cxx +++ b/src/Fl_Device.cxx @@ -83,7 +83,7 @@ Fl_Surface_Device *Fl_Surface_Device::default_surface() return Fl_Display_Device::display_device(); } -static int surface_stack_height = 0; +static unsigned int surface_stack_height = 0; static Fl_Surface_Device *surface_stack[16]; /** Pushes \p new_current on top of the stack of current drawing surfaces, and makes it current. |
