From 636885f28c752e97bf7bf305de52f90c70d9362c Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Tue, 24 Apr 2012 02:03:10 +0000 Subject: removed 64 bits warning in arc demo git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/arc.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/arc.cxx b/test/arc.cxx index ad29b114d..2f2d3a3c9 100644 --- a/test/arc.cxx +++ b/test/arc.cxx @@ -75,7 +75,11 @@ int main(int argc, char** argv) { s->step(1); s->value(args[n]); s->align(FL_ALIGN_LEFT); - s->callback(slider_cb, (void*)n); +#if __LP64__ + s->callback(slider_cb, (void*)(long long) n); +#else + s->callback(slider_cb, (void*) n); +#endif } window.end(); -- cgit v1.2.3