diff options
| author | Fabien Costantini <fabien@onepost.net> | 2012-04-22 02:45:09 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2012-04-22 02:45:09 +0000 |
| commit | 822bc272fc05b79a4385cbf139f4a6c87031617a (patch) | |
| tree | 24fb3b283eb7b2b8f8c70ac66df38e759ebfd2dd /src/fl_ask.cxx | |
| parent | 4f7f902a00678be6a3028f12037fa2e337baf881 (diff) | |
Fixed linux 64 gcc 4.6.1 compilation problems
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_ask.cxx')
| -rw-r--r-- | src/fl_ask.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx index 22b8f90e0..3d23f74cd 100644 --- a/src/fl_ask.cxx +++ b/src/fl_ask.cxx @@ -99,7 +99,11 @@ static Fl_Window *makeform() { else button[b] = new Fl_Button(x, 70, 90, 23); button[b]->align(FL_ALIGN_INSIDE|FL_ALIGN_WRAP); +#if defined (__LP64__) + button[b]->callback(button_cb,(void *)(long long) b); +#else button[b]->callback(button_cb,(void *)b); +#endif } } button[0]->shortcut(FL_Escape); |
