diff options
Diffstat (limited to 'src/c_fl_multiline_output.cpp')
-rw-r--r-- | src/c_fl_multiline_output.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c_fl_multiline_output.cpp b/src/c_fl_multiline_output.cpp index 6be13a2..2401fc7 100644 --- a/src/c_fl_multiline_output.cpp +++ b/src/c_fl_multiline_output.cpp @@ -50,18 +50,18 @@ MULTILINEOUTPUT new_fl_multiline_output(int x, int y, int w, int h, char* label) } void free_fl_multiline_output(MULTILINEOUTPUT i) { - delete reinterpret_cast<My_Multiline_Output*>(i); + delete static_cast<My_Multiline_Output*>(i); } void fl_multiline_output_draw(MULTILINEOUTPUT i) { - reinterpret_cast<My_Multiline_Output*>(i)->Fl_Multiline_Output::draw(); + static_cast<My_Multiline_Output*>(i)->Fl_Multiline_Output::draw(); } int fl_multiline_output_handle(MULTILINEOUTPUT i, int e) { - return reinterpret_cast<My_Multiline_Output*>(i)->Fl_Multiline_Output::handle(e); + return static_cast<My_Multiline_Output*>(i)->Fl_Multiline_Output::handle(e); } |