removed more 64 bits warning in curve/arc demos

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Fabien Costantini 2012-04-24 02:06:52 +00:00
parent 636885f28c
commit 88cbdd46f7
2 changed files with 5 additions and 1 deletions

View File

@ -75,7 +75,7 @@ int main(int argc, char** argv) {
s->step(1);
s->value(args[n]);
s->align(FL_ALIGN_LEFT);
#if __LP64__
#ifdef __LP64__
s->callback(slider_cb, (void*)(long long) n);
#else
s->callback(slider_cb, (void*) n);

View File

@ -91,7 +91,11 @@ int main(int argc, char** argv) {
s->step(1);
s->value(args[n]);
s->align(FL_ALIGN_LEFT);
#ifdef __LP64__
s->callback(slider_cb, (void*) (long long)n);
#else
s->callback(slider_cb, (void*)n);
#endif
}
Fl_Toggle_Button but(50,y,50,25,"points");
but.callback(points_cb);