summaryrefslogtreecommitdiff
path: root/examples/howto-drag-and-drop.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-11-16 21:21:23 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-11-16 21:25:54 +0100
commit55f3df268c0f6e2fabc055bef51c195e51dd8716 (patch)
treeb76fce4b8d46a0234cafd9999027f16031d16a0e /examples/howto-drag-and-drop.cxx
parent5810edaf84707563b452bd0e4b6120909b8ef3ea (diff)
Fix remaining VS compiler warnings in example programs
Diffstat (limited to 'examples/howto-drag-and-drop.cxx')
-rw-r--r--examples/howto-drag-and-drop.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/howto-drag-and-drop.cxx b/examples/howto-drag-and-drop.cxx
index 35a45ed25..856838d61 100644
--- a/examples/howto-drag-and-drop.cxx
+++ b/examples/howto-drag-and-drop.cxx
@@ -43,7 +43,7 @@ public:
switch ( event ) {
case FL_PUSH: { // do 'copy/dnd' when someone clicks on box
const char *msg = "It works!";
- Fl::copy(msg,strlen(msg),0);
+ Fl::copy(msg, (int)strlen(msg), 0);
Fl::dnd();
ret = 1;
break;