mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 07:46:09 +08:00
STR 3442: invalid conversion warning in VisualC
This commit is contained in:
committed by
Matthias Melcher
parent
08c69a548c
commit
e76611a1fe
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user