diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-08-24 19:25:34 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-08-24 19:25:34 +0200 |
commit | c4df5daaef948b4822ae6023c511e8da2e3d468c (patch) | |
tree | 9dce1d6f97539f4c898bbb306c04a29bdf54bcbe | |
parent | 088620112c370405d580c57f1e2d212d649cec07 (diff) |
fix 64bit compilation problem (reported by Maxi)
-rw-r--r-- | src/GipfelWidget.cxx | 2 | ||||
-rw-r--r-- | src/gipfel.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index ee5cb00..75451ec 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -109,7 +109,7 @@ GipfelWidget::load_image(char *file) { mb = new Fl_Menu_Button(x(),y(),w()+x(),h()+y(),"&popup"); mb->type(Fl_Menu_Button::POPUP3); mb->box(FL_NO_BOX); - mb->add("Center Peak", NULL, (Fl_Callback*) center_cb, this); + mb->add("Center Peak", 0, (Fl_Callback*) center_cb, this); // try to retrieve gipfel data from JPEG comment section args[0] = "rdjpgcom"; diff --git a/src/gipfel.cxx b/src/gipfel.cxx index 447b938..1106c48 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -196,15 +196,15 @@ void fill_menubar(Fl_Menu_Bar* mb) { mb->add("&File/&Quit", FL_CTRL+'q', (Fl_Callback*)quit_cb); - mb->add("&Projection/Normal Projection", NULL, (Fl_Callback *)proj_cb, + mb->add("&Projection/Normal Projection", 0, (Fl_Callback *)proj_cb, (void *)0, FL_MENU_RADIO|FL_MENU_VALUE); - mb->add("&Projection/Panoramic Projection", NULL, (Fl_Callback *)proj_cb, + mb->add("&Projection/Panoramic Projection", 0, (Fl_Callback *)proj_cb, (void *)1, FL_MENU_RADIO); - mb->add("&Option/Show Hidden", NULL, (Fl_Callback *) hidden_cb, + mb->add("&Option/Show Hidden", 0, (Fl_Callback *) hidden_cb, (void *)0, FL_MENU_TOGGLE); - mb->add("&Help/About", NULL, (Fl_Callback*)about_cb); + mb->add("&Help/About", 0, (Fl_Callback*)about_cb); } void usage() { |