From f9e453e3d456514066e8ecbed9fbac93a588a0d0 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Tue, 21 Jan 2025 00:53:56 +1300 Subject: Using the type method is now more consistent --- src/c_fl_spinner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/c_fl_spinner.cpp') diff --git a/src/c_fl_spinner.cpp b/src/c_fl_spinner.cpp index a278c84..67a5312 100644 --- a/src/c_fl_spinner.cpp +++ b/src/c_fl_spinner.cpp @@ -146,11 +146,11 @@ void fl_spinner_set_format(SPINNER n, const char * f) { static_cast(n)->format(f); } -int fl_spinner_get_type(SPINNER n) { +unsigned char fl_spinner_get_type(SPINNER n) { return static_cast(n)->type(); } -void fl_spinner_set_type(SPINNER n, int t) { +void fl_spinner_set_type(SPINNER n, unsigned char t) { static_cast(n)->type(t); } -- cgit