summaryrefslogtreecommitdiff
path: root/src/c_fl_choice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_choice.cpp')
-rw-r--r--src/c_fl_choice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c_fl_choice.cpp b/src/c_fl_choice.cpp
index e8c8374..0b7c65c 100644
--- a/src/c_fl_choice.cpp
+++ b/src/c_fl_choice.cpp
@@ -60,12 +60,12 @@ int fl_choice_value(CHOICE c) {
return reinterpret_cast<Fl_Choice*>(c)->value();
}
-int fl_choice_set_value(CHOICE c, int p) {
- return reinterpret_cast<Fl_Choice*>(c)->value(p);
+int fl_choice_set_value(CHOICE c, void * i) {
+ return reinterpret_cast<Fl_Choice*>(c)->value(reinterpret_cast<Fl_Menu_Item*>(i));
}
-int fl_choice_set_value2(CHOICE c, void * i) {
- return reinterpret_cast<Fl_Choice*>(c)->value(reinterpret_cast<Fl_Menu_Item*>(i));
+int fl_choice_set_value2(CHOICE c, int p) {
+ return reinterpret_cast<Fl_Choice*>(c)->value(p);
}