summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2021-12-13 18:09:53 +0100
committerMatthias Melcher <github@matthiasm.com>2021-12-13 18:17:07 +0100
commite76611a1fe3c49e66c42d9d4f0e2c995fa7f6f5e (patch)
tree4d891081932e4bf26e909809bc64626ad284b9d2
parent08c69a548ce78be6a7cd4e227a8d20e6bb1de070 (diff)
STR 3442: invalid conversion warning in VisualC
-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;
}