summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Device.cxx2
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.