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_static.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/c_fl_static.h') diff --git a/src/c_fl_static.h b/src/c_fl_static.h index f357494..692750b 100644 --- a/src/c_fl_static.h +++ b/src/c_fl_static.h @@ -8,8 +8,6 @@ #define FL_STATIC_GUARD - - extern "C" void fl_static_add_awake_handler(void * h, void * f); extern "C" void fl_static_get_awake_handler(void * &h, void * &f); @@ -39,8 +37,10 @@ extern "C" int fl_static_has_idle(void * h, void * f); extern "C" void fl_static_remove_idle(void * h, void * f); -extern "C" void fl_static_get_color(unsigned int c, unsigned char &r, unsigned char &g, unsigned char &b); -extern "C" void fl_static_set_color(unsigned int c, unsigned char r, unsigned char g, unsigned char b); +extern "C" void fl_static_get_color(unsigned int c, + unsigned char &r, unsigned char &g, unsigned char &b); +extern "C" void fl_static_set_color(unsigned int c, + unsigned char r, unsigned char g, unsigned char b); extern "C" void fl_static_free_color(unsigned int c, int b); extern "C" void fl_static_foreground(unsigned int r, unsigned int g, unsigned int b); extern "C" void fl_static_background(unsigned int r, unsigned int g, unsigned int b); @@ -106,3 +106,4 @@ extern "C" void fl_static_set_scrollbar_size(int s); #endif + -- cgit