summaryrefslogtreecommitdiff
path: root/FL/x.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/x.H')
-rw-r--r--FL/x.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/x.H b/FL/x.H
index 7473df78b..d0a6f4abb 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -150,8 +150,8 @@ public:
char wait_for_expose;
char backbuffer_bad; // used for XDBE
static Fl_X* first;
- static Fl_X* i(const Fl_Window* wi) {return (Fl_X*)wi->i;}
- void setwindow(Fl_Window* wi) {w=wi; wi->i=(Fl_Window_Driver*)this;}
+ static Fl_X* i(const Fl_Window* wi) {return wi->i;}
+ void setwindow(Fl_Window* wi) {w=wi; wi->i=this;}
void sendxjunk();
static void set_default_icons(const Fl_RGB_Image*[], int);
void set_icons();