Author: matt
Date: 2011-08-22 11:54:47 -0700 (Mon, 22 Aug 2011)
New Revision: 8995
Log:
Fix for OS X

Modified:
   branches/branch-3.0/test/keyboard.cxx

Modified: branches/branch-3.0/test/keyboard.cxx
===================================================================
--- branches/branch-3.0/test/keyboard.cxx       2011-08-22 18:52:15 UTC (rev 
8994)
+++ branches/branch-3.0/test/keyboard.cxx       2011-08-22 18:54:47 UTC (rev 
8995)
@@ -112,7 +112,7 @@
        int i = b->argument();
        if (!i) i = b->label()[0];
         fltk3::Button *btn = ((fltk3::Button*)b);
-        int state = fltk3::event_key(i);
+        int state = fltk3::event_key((unsigned)i);
         if (btn->value()!=state)
          btn->value(state);
       } else if (b->callback() == (fltk3::Callback*)shift_cb) {

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to