diff options
Diffstat (limited to 'src/c_fl_output.cpp')
-rw-r--r-- | src/c_fl_output.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c_fl_output.cpp b/src/c_fl_output.cpp index 2251f8d..2e937dd 100644 --- a/src/c_fl_output.cpp +++ b/src/c_fl_output.cpp @@ -50,18 +50,18 @@ OUTPUTT new_fl_output(int x, int y, int w, int h, char* label) { } void free_fl_output(OUTPUTT i) { - delete reinterpret_cast<My_Output*>(i); + delete static_cast<My_Output*>(i); } void fl_output_draw(OUTPUTT i) { - reinterpret_cast<My_Output*>(i)->Fl_Output::draw(); + static_cast<My_Output*>(i)->Fl_Output::draw(); } int fl_output_handle(OUTPUTT i, int e) { - return reinterpret_cast<My_Output*>(i)->Fl_Output::handle(e); + return static_cast<My_Output*>(i)->Fl_Output::handle(e); } |