|
|
commit e76611a1fe3c49e66c42d9d4f0e2c995fa7f6f5e
Author: Matthias Melcher <git@matthiasm.com>
AuthorDate: Mon Dec 13 18:09:53 2021 +0100
Commit: Matthias Melcher <github@matthiasm.com>
CommitDate: Mon Dec 13 18:17:07 2021 +0100
STR 3442: invalid conversion warning in VisualC
fluid/Shortcut_Button.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git fluid/Shortcut_Button.cxx fluid/Shortcut_Button.cxx
index bc65fe8..4d8665b 100644
--- fluid/Shortcut_Button.cxx
+++ 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;
}
[ Direct Link to Message ] | |
|
| |