diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-11 23:33:31 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-11 23:33:31 +0200 |
| commit | d7a5e5099c8e3fbc6e9a445a28bc0c2c17c1026b (patch) | |
| tree | eb12c9cdedd506585a16e404341b2ab732859354 /src/Fl_cocoa.mm | |
| parent | c41b3a1a647155ab9c727dab168baf08e7609372 (diff) | |
Fixes conversion warning.
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 0420767f9..744b831d7 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2624,7 +2624,7 @@ static FLTextInputContext* fltextinputcontext_instance = nil; if (!DragData) { DragData = strdup(p); } else { - int l = strlen(DragData) + strlen(p) + 2; + int l = (int)strlen(DragData) + (int)strlen(p) + 2; char *drag2 = (char*)malloc(l); snprintf(drag2, l, "%s\n%s", DragData, p); free(DragData); |
