diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-16 14:21:05 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-16 14:21:05 +1300 |
commit | dbf6f4db24aee7315b2782a87e127367887e2036 (patch) | |
tree | 91f5af52dbdf6be9e1f5026bcf354a6455dd411d /src/c_fl_tooltip.cpp | |
parent | ba1719013e5bab82a2accb4aadfd8451c3ebc931 (diff) |
Changed reinterpret_cast to static_cast where applicable
Diffstat (limited to 'src/c_fl_tooltip.cpp')
-rw-r--r-- | src/c_fl_tooltip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Fl_Widget*>(i)); + Fl_Tooltip::current(static_cast<Fl_Widget*>(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<Fl_Widget*>(i),x,y,w,h,t); + Fl_Tooltip::enter_area(static_cast<Fl_Widget*>(i),x,y,w,h,t); } |