diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-08-09 14:38:40 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-08-09 14:38:40 +0000 |
| commit | eed1f2a359409738661571349ba2e9b84208ddac (patch) | |
| tree | fa861dd058b36f07b9e54c2593aba4ac4e28c40c /test | |
| parent | 81241af1cfc5695a130cd385c9f6b17a364934e2 (diff) | |
Fixed compile error with gcc 2.95 - the "d" string needed to be cast to
(void *) in both menus...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/checkers.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/checkers.cxx b/test/checkers.cxx index 6b22c9ddc..d233b221b 100644 --- a/test/checkers.cxx +++ b/test/checkers.cxx @@ -1,5 +1,5 @@ // -// "$Id: checkers.cxx,v 1.9.2.2 1999/06/07 07:03:34 bill Exp $" +// "$Id: checkers.cxx,v 1.9.2.3 1999/08/09 14:38:40 mike Exp $" // // Checkers game for the Fast Light Tool Kit (FLTK). // @@ -1294,21 +1294,21 @@ Fl_Menu_Item menu[] = { {"Switch sides", 's', switch_cb}, {"Undo", 'u', undo_cb, 0, FL_MENU_DIVIDER}, {"Forced jumps rule", 'f', forced_cb, 0, FL_MENU_TOGGLE|FL_MENU_VALUE}, - {"Debug", 'd', debug_cb, "d", FL_MENU_TOGGLE}, + {"Debug", 'd', debug_cb, (void *)"d", FL_MENU_TOGGLE}, {"Intelligence...", 'i', intel_cb, 0, FL_MENU_DIVIDER}, {"Copyright", 'c', copyright_cb}, {"Quit", 'q', quit_cb}, - {(const char *)0}}; + {0}}; Fl_Menu_Item busymenu[] = { {"Stop", '.', stop_cb}, {"Autoplay", 'a', autoplay_cb}, {"Continue", 0, continue_cb}, - {"Debug", 'd', debug_cb, "d", FL_MENU_TOGGLE}, + {"Debug", 'd', debug_cb, (void *)"d", FL_MENU_TOGGLE}, {"Intelligence...", 'i', intel_cb}, {"Copyright", 'c', copyright_cb}, {"Quit", 'q', quit_cb}, - {(const char *)0}}; + {0}}; #endif @@ -1365,5 +1365,5 @@ int main(int argc, char **argv) { } // -// End of "$Id: checkers.cxx,v 1.9.2.2 1999/06/07 07:03:34 bill Exp $". +// End of "$Id: checkers.cxx,v 1.9.2.3 1999/08/09 14:38:40 mike Exp $". // |
