From dbf6f4db24aee7315b2782a87e127367887e2036 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 16 Jan 2025 14:21:05 +1300 Subject: Changed reinterpret_cast to static_cast where applicable --- src/c_fl_multiline_output.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/c_fl_multiline_output.cpp') 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(i); + delete static_cast(i); } void fl_multiline_output_draw(MULTILINEOUTPUT i) { - reinterpret_cast(i)->Fl_Multiline_Output::draw(); + static_cast(i)->Fl_Multiline_Output::draw(); } int fl_multiline_output_handle(MULTILINEOUTPUT i, int e) { - return reinterpret_cast(i)->Fl_Multiline_Output::handle(e); + return static_cast(i)->Fl_Multiline_Output::handle(e); } -- cgit