From 843aba4c68dfd22fe1512914a68156d7e3fb6c17 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 12 Dec 2016 20:50:16 +0000 Subject: 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 --- src/Fl_Device.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3