diff options
Diffstat (limited to 'FL/Fl_Window.H')
| -rw-r--r-- | FL/Fl_Window.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index b2430e958..c9dd1af08 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -421,7 +421,7 @@ public: \note This method is provided to avoid dynamic_cast. \todo More documentation ... */ - virtual Fl_Window* as_window() const { return (Fl_Window*)this; } + virtual Fl_Window* as_window() { return this; } // for back-compatibility only: /** |
