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_display_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/c_fl_display_device.cpp') diff --git a/src/c_fl_display_device.cpp b/src/c_fl_display_device.cpp index 9c88151..f4f53bf 100644 --- a/src/c_fl_display_device.cpp +++ b/src/c_fl_display_device.cpp @@ -11,12 +11,12 @@ DISPLAYDEVICE new_fl_display_device(void * g) { - Fl_Display_Device *d = new Fl_Display_Device(reinterpret_cast(g)); + Fl_Display_Device *d = new Fl_Display_Device(static_cast(g)); return d; } void free_fl_display_device(DISPLAYDEVICE d) { - delete reinterpret_cast(d); + delete static_cast(d); } -- cgit