summaryrefslogtreecommitdiff
path: root/src/fl_ask.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2010-12-08 14:00:35 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2010-12-08 14:00:35 +0000
commit97b4b0c704aef8194ab0f5d814d39452d0b3221f (patch)
tree3c916fe9b80941338f730a440309066501dfbb80 /src/fl_ask.cxx
parentef831abaa73298d9648010d8aede52dc95fcaee1 (diff)
Fixed Compiling with mingw-w64 (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_ask.cxx')
-rw-r--r--src/fl_ask.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx
index 7e11fb944..20e5bb5c3 100644
--- a/src/fl_ask.cxx
+++ b/src/fl_ask.cxx
@@ -72,7 +72,7 @@ static char avoidRecursion = 0;
// pointer to one of the buttons or an Fl_Window* pointer to the
// message window (message_form).
static void button_cb(Fl_Widget *, void *val) {
- ret_val = (int)(long)val;
+ ret_val = (fl_intptr_t)val;
message_form->hide();
}