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_horizontal_slider.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/c_fl_horizontal_slider.cpp') diff --git a/src/c_fl_horizontal_slider.cpp b/src/c_fl_horizontal_slider.cpp index 2856a21..638502d 100644 --- a/src/c_fl_horizontal_slider.cpp +++ b/src/c_fl_horizontal_slider.cpp @@ -50,18 +50,18 @@ HORIZONTALSLIDER new_fl_horizontal_slider(int x, int y, int w, int h, char* labe } void free_fl_horizontal_slider(HORIZONTALSLIDER s) { - delete reinterpret_cast(s); + delete static_cast(s); } void fl_horizontal_slider_draw(HORIZONTALSLIDER s) { - reinterpret_cast(s)->Fl_Hor_Slider::draw(); + static_cast(s)->Fl_Hor_Slider::draw(); } int fl_horizontal_slider_handle(HORIZONTALSLIDER s, int e) { - return reinterpret_cast(s)->Fl_Hor_Slider::handle(e); + return static_cast(s)->Fl_Hor_Slider::handle(e); } -- cgit