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_fill_slider.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/c_fl_fill_slider.cpp') diff --git a/src/c_fl_fill_slider.cpp b/src/c_fl_fill_slider.cpp index d443684..d5552a4 100644 --- a/src/c_fl_fill_slider.cpp +++ b/src/c_fl_fill_slider.cpp @@ -50,18 +50,18 @@ FILLSLIDER new_fl_fill_slider(int x, int y, int w, int h, char* label) { } void free_fl_fill_slider(FILLSLIDER s) { - delete reinterpret_cast(s); + delete static_cast(s); } void fl_fill_slider_draw(FILLSLIDER s) { - reinterpret_cast(s)->Fl_Fill_Slider::draw(); + static_cast(s)->Fl_Fill_Slider::draw(); } int fl_fill_slider_handle(FILLSLIDER s, int e) { - return reinterpret_cast(s)->Fl_Fill_Slider::handle(e); + return static_cast(s)->Fl_Fill_Slider::handle(e); } -- cgit