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_tooltip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/c_fl_tooltip.cpp') diff --git a/src/c_fl_tooltip.cpp b/src/c_fl_tooltip.cpp index 768b357..8819da4 100644 --- a/src/c_fl_tooltip.cpp +++ b/src/c_fl_tooltip.cpp @@ -16,7 +16,7 @@ void * fl_tooltip_get_current(void) { } void fl_tooltip_set_current(void * i) { - Fl_Tooltip::current(reinterpret_cast(i)); + Fl_Tooltip::current(static_cast(i)); } int fl_tooltip_enabled(void) { @@ -32,7 +32,7 @@ void fl_tooltip_disable() { } void fl_tooltip_enter_area(void * i, int x, int y, int w, int h, const char * t) { - Fl_Tooltip::enter_area(reinterpret_cast(i),x,y,w,h,t); + Fl_Tooltip::enter_area(static_cast(i),x,y,w,h,t); } -- cgit