summaryrefslogtreecommitdiff
path: root/src/c_fl_wizard.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_wizard.cpp
parentba1719013e5bab82a2accb4aadfd8451c3ebc931 (diff)
Changed reinterpret_cast to static_cast where applicable
Diffstat (limited to 'src/c_fl_wizard.cpp')
-rw-r--r--src/c_fl_wizard.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/c_fl_wizard.cpp b/src/c_fl_wizard.cpp
index d826ca6..e29995a 100644
--- a/src/c_fl_wizard.cpp
+++ b/src/c_fl_wizard.cpp
@@ -67,40 +67,40 @@ WIZARD new_fl_wizard(int x, int y, int w, int h, char* label) {
}
void free_fl_wizard(WIZARD w) {
- delete reinterpret_cast<My_Wizard*>(w);
+ delete static_cast<My_Wizard*>(w);
}
void fl_wizard_next(WIZARD w) {
- reinterpret_cast<Fl_Wizard*>(w)->next();
+ static_cast<Fl_Wizard*>(w)->next();
}
void fl_wizard_prev(WIZARD w) {
- reinterpret_cast<Fl_Wizard*>(w)->prev();
+ static_cast<Fl_Wizard*>(w)->prev();
}
void * fl_wizard_get_visible(WIZARD w) {
- return reinterpret_cast<Fl_Wizard*>(w)->value();
+ return static_cast<Fl_Wizard*>(w)->value();
}
void fl_wizard_set_visible(WIZARD w, void * i) {
- reinterpret_cast<Fl_Wizard*>(w)->value(reinterpret_cast<Fl_Widget*>(i));
+ static_cast<Fl_Wizard*>(w)->value(static_cast<Fl_Widget*>(i));
}
void fl_wizard_draw(WIZARD w) {
- reinterpret_cast<My_Wizard*>(w)->real_draw();
+ static_cast<My_Wizard*>(w)->real_draw();
}
int fl_wizard_handle(WIZARD w, int e) {
- return reinterpret_cast<My_Wizard*>(w)->Fl_Wizard::handle(e);
+ return static_cast<My_Wizard*>(w)->Fl_Wizard::handle(e);
}