summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/Shortcut_Button.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Shortcut_Button.cxx b/fluid/Shortcut_Button.cxx
index bc65fe8e9..4d8665b88 100644
--- a/fluid/Shortcut_Button.cxx
+++ b/fluid/Shortcut_Button.cxx
@@ -129,7 +129,7 @@ int Widget_Bin_Button::handle(int inEvent)
// make it into a dnd event
const char *type_name = (const char*)user_data();
Fl_Type::current_dnd = Fl_Type::current;
- Fl::copy(type_name, strlen(type_name)+1, 0);
+ Fl::copy(type_name, (int)strlen(type_name)+1, 0);
Fl::dnd();
return 1;
}