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_int_input.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/c_fl_int_input.cpp') diff --git a/src/c_fl_int_input.cpp b/src/c_fl_int_input.cpp index 0f90cf2..8f780d7 100644 --- a/src/c_fl_int_input.cpp +++ b/src/c_fl_int_input.cpp @@ -50,18 +50,18 @@ INTINPUT new_fl_int_input(int x, int y, int w, int h, char* label) { } void free_fl_int_input(INTINPUT i) { - delete reinterpret_cast(i); + delete static_cast(i); } void fl_int_input_draw(INTINPUT i) { - reinterpret_cast(i)->Fl_Int_Input::draw(); + static_cast(i)->Fl_Int_Input::draw(); } int fl_int_input_handle(INTINPUT i, int e) { - return reinterpret_cast(i)->Fl_Int_Input::handle(e); + return static_cast(i)->Fl_Int_Input::handle(e); } -- cgit