From e76611a1fe3c49e66c42d9d4f0e2c995fa7f6f5e Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 13 Dec 2021 18:09:53 +0100 Subject: STR 3442: invalid conversion warning in VisualC --- fluid/Shortcut_Button.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3