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
This commit is contained in:
Albrecht Schlosser 2016-12-12 20:50:16 +00:00
parent d17f17e606
commit 843aba4c68

View File

@ -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.