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:
parent
636885f28c
commit
88cbdd46f7
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user