diff options
| author | Fabien Costantini <fabien@onepost.net> | 2012-04-24 02:03:10 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2012-04-24 02:03:10 +0000 |
| commit | 636885f28c752e97bf7bf305de52f90c70d9362c (patch) | |
| tree | 26e563e943f294c2acea12b81fc4c37ef0c52d46 /test/arc.cxx | |
| parent | 9011c77c0eaac7200bc784be7dcffc9c56c8fc70 (diff) | |
removed 64 bits warning in arc demo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/arc.cxx')
| -rw-r--r-- | test/arc.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
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(); |
