diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-07-15 09:56:19 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-07-15 09:56:19 -0400 |
commit | 5b311cb1ef29825290273ede14c7e90839b80985 (patch) | |
tree | c162cd6de7bc27fec12e3242c33022f07a7dd8c0 /test | |
parent | 5f46adec1f6ecab7b68f3a71efbd7abe60ca917e (diff) |
Eliminated a pack of compiler warnings (gcc-4.6.1 amd64)
Diffstat (limited to 'test')
-rw-r--r-- | test/dw_anchors_test.cc | 2 |
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); } |