aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkui.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-07-15 09:56:19 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-07-15 09:56:19 -0400
commit5b311cb1ef29825290273ede14c7e90839b80985 (patch)
treec162cd6de7bc27fec12e3242c33022f07a7dd8c0 /dw/fltkui.cc
parent5f46adec1f6ecab7b68f3a71efbd7abe60ca917e (diff)
Eliminated a pack of compiler warnings (gcc-4.6.1 amd64)
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r--dw/fltkui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index ff80e14c..697d4505 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -865,7 +865,7 @@ template <class I>
{
::fltk::Item *item = new ::fltk::Item (name);
item->set_flag (::fltk::RAW_LABEL);
- item->user_data ((void *) index);
+ item->user_data ((void *)(long) index);
return item;
}