aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-06-21 21:06:38 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-06-21 21:06:38 -0400
commit86ad9513a8d090501dd602b00b70fecc31eeaaa4 (patch)
tree5b3d54986b78148658ca43015a579226e278d07c /src/ui.cc
parentc1a46d534c0d4b67f71c6e4a378de94ba4c6aaa4 (diff)
Eliminated a pack of 22 compiler warnings (gcc-4.6.1 amd64)
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 1731f469..c50282d3 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -425,7 +425,7 @@ Fl_Button *UI::make_button(const char *label, Fl_Image *img, Fl_Image *deimg,
b->image(img);
if (deimg)
b->deimage(deimg);
- b->callback(b1_cb, (void *)b_n);
+ b->callback(b1_cb, INT2VOIDP(b_n));
b->clear_visible_focus();
b->labelsize(12);
b->box(FL_FLAT_BOX);