aboutsummaryrefslogtreecommitdiff
path: root/test
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 /test
parent5f46adec1f6ecab7b68f3a71efbd7abe60ca917e (diff)
Eliminated a pack of compiler warnings (gcc-4.6.1 amd64)
Diffstat (limited to 'test')
-rw-r--r--test/dw_anchors_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dw_anchors_test.cc b/test/dw_anchors_test.cc
index 977d724a..69122c4a 100644
--- a/test/dw_anchors_test.cc
+++ b/test/dw_anchors_test.cc
@@ -111,7 +111,7 @@ int main(int argc, char **argv)
buttonLabel[i] = strdup(buf);
::fltk::Button *button =
new ::fltk::Button(0, 20 * i, 50, 20, buttonLabel[i]);
- button->callback (anchorCallback, (void*)i);
+ button->callback (anchorCallback, (void*)(long)i);
button->when (::fltk::WHEN_RELEASE);
}