summaryrefslogtreecommitdiff
path: root/src/c_fl_spinner.cpp
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-21 00:53:56 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-21 00:53:56 +1300
commitf9e453e3d456514066e8ecbed9fbac93a588a0d0 (patch)
tree06587afde830fb324d5ab7372f0f1686c4fd993a /src/c_fl_spinner.cpp
parent67a43ef89ba41ac32b86cda7396c16fffaf691b3 (diff)
Using the type method is now more consistent
Diffstat (limited to 'src/c_fl_spinner.cpp')
-rw-r--r--src/c_fl_spinner.cpp4
1 files changed, 2 insertions, 2 deletions
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<Fl_Spinner*>(n)->format(f);
}
-int fl_spinner_get_type(SPINNER n) {
+unsigned char fl_spinner_get_type(SPINNER n) {
return static_cast<Fl_Spinner*>(n)->type();
}
-void fl_spinner_set_type(SPINNER n, int t) {
+void fl_spinner_set_type(SPINNER n, unsigned char t) {
static_cast<Fl_Spinner*>(n)->type(t);
}