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_static.h | |
parent | ba1719013e5bab82a2accb4aadfd8451c3ebc931 (diff) |
Changed reinterpret_cast to static_cast where applicable
Diffstat (limited to 'src/c_fl_static.h')
-rw-r--r-- | src/c_fl_static.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 + |