summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/fl_callback_macros.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/fl_callback_macros.H b/FL/fl_callback_macros.H
index 185d05ec6..b1c2a349d 100644
--- a/FL/fl_callback_macros.H
+++ b/FL/fl_callback_macros.H
@@ -153,7 +153,7 @@
...
Fl_Button *btn = new Fl_Button(10, 10, 100, 20, "Test");
FL_INLINE_CALLBACK_1(btn,
- Fl_String, name, btn->label(),
+ const char *, name, btn->label(),
{
fl_message("Greetings from the %s button", name);
}