diff options
Diffstat (limited to 'test/input.cxx')
| -rw-r--r-- | test/input.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/input.cxx b/test/input.cxx index 784941f90..fd955a7c0 100644 --- a/test/input.cxx +++ b/test/input.cxx @@ -61,7 +61,7 @@ void button_cb(Fl_Widget *,void *) { void color_cb(Fl_Widget* button, void* v) { Fl_Color c; - switch ((int)v) { + switch ((long)v) { case 0: c = FL_BACKGROUND2_COLOR; break; case 1: c = FL_SELECTION_COLOR; break; default: c = FL_FOREGROUND_COLOR; break; |
