summaryrefslogtreecommitdiff
path: root/src/c_fl_event.cpp
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-16 14:21:05 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-16 14:21:05 +1300
commitdbf6f4db24aee7315b2782a87e127367887e2036 (patch)
tree91f5af52dbdf6be9e1f5026bcf354a6455dd411d /src/c_fl_event.cpp
parentba1719013e5bab82a2accb4aadfd8451c3ebc931 (diff)
Changed reinterpret_cast to static_cast where applicable
Diffstat (limited to 'src/c_fl_event.cpp')
-rw-r--r--src/c_fl_event.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/c_fl_event.cpp b/src/c_fl_event.cpp
index c5d7651..cdb8185 100644
--- a/src/c_fl_event.cpp
+++ b/src/c_fl_event.cpp
@@ -21,7 +21,7 @@ void fl_event_set_event_dispatch(void * f) {
}
int fl_event_handle(int e, void * w) {
- return Fl::handle_(e, reinterpret_cast<Fl_Window*>(w));
+ return Fl::handle_(e, static_cast<Fl_Window*>(w));
}
@@ -32,7 +32,7 @@ void * fl_event_get_grab() {
}
void fl_event_set_grab(void * w) {
- Fl::grab(reinterpret_cast<Fl_Window*>(w));
+ Fl::grab(static_cast<Fl_Window*>(w));
}
void * fl_event_get_pushed() {
@@ -40,7 +40,7 @@ void * fl_event_get_pushed() {
}
void fl_event_set_pushed(void * w) {
- Fl::pushed(reinterpret_cast<Fl_Widget*>(w));
+ Fl::pushed(static_cast<Fl_Widget*>(w));
}
void * fl_event_get_belowmouse() {
@@ -48,7 +48,7 @@ void * fl_event_get_belowmouse() {
}
void fl_event_set_belowmouse(void * w) {
- Fl::belowmouse(reinterpret_cast<Fl_Widget*>(w));
+ Fl::belowmouse(static_cast<Fl_Widget*>(w));
}
void * fl_event_get_focus() {
@@ -56,7 +56,7 @@ void * fl_event_get_focus() {
}
void fl_event_set_focus(void * w) {
- Fl::focus(reinterpret_cast<Fl_Widget*>(w));
+ Fl::focus(static_cast<Fl_Widget*>(w));
}