From 5e39761d40a1f630d6ea1e7e28b47f7ad2a0e2d2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 30 Sep 2006 03:34:32 +0000 Subject: Fix void * to integer casts for 64-bit Intel systems (STR #1446) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/input.cxx') 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; -- cgit v1.2.3