summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-02-19 22:21:02 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-02-19 22:21:02 +0000
commit052401a34e8347c87a418270986432032ac693e2 (patch)
tree311f997a157e25f132a51fed20438f6f3a92c284 /FL/mac.H
parenta072a412a1370d3c5570150f0c4a381909b623ec (diff)
Instantiate the right Fl_Window_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/mac.H b/FL/mac.H
index f5b3a0c2a..8da33239d 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -149,7 +149,7 @@ public:
int wait_for_expose;
NSCursor *cursor;
static Fl_X* first;
- static Fl_X* i(const Fl_Window* w) {return w->i;}
+ static Fl_X* i(const Fl_Window* w) {return (Fl_X*)w->i;}
static int fake_X_wm(const Fl_Window*,int&,int&,int&,int&,int&);
static void make(Fl_Window*);
void flush();