summaryrefslogtreecommitdiff
path: root/src/c_fl_spinner.cpp
diff options
context:
space:
mode:
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);
}