mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 11:25:22 +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
|
// make it into a dnd event
|
||||||
const char *type_name = (const char*)user_data();
|
const char *type_name = (const char*)user_data();
|
||||||
Fl_Type::current_dnd = Fl_Type::current;
|
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();
|
Fl::dnd();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user