diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-02-13 21:12:52 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-02-13 21:13:04 +0100 |
| commit | 9fad60140167661bfa1f442db3b81ba9e10d37e9 (patch) | |
| tree | 564b6cdd0e52c523a9a51e136d2edb0bbd60ece2 /src/Fl_Menu_.cxx | |
| parent | 5ade8fcb09ad2f30d0ee84228f062bdfc8ecdc50 (diff) | |
Remove compilation warnings issued by Visual Studio 2019.
Diffstat (limited to 'src/Fl_Menu_.cxx')
| -rw-r--r-- | src/Fl_Menu_.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu_.cxx b/src/Fl_Menu_.cxx index f0af2f065..60712a9ef 100644 --- a/src/Fl_Menu_.cxx +++ b/src/Fl_Menu_.cxx @@ -79,7 +79,7 @@ int Fl_Menu_::item_pathname_(char *name, if (m->submenu()) { // submenu? descend if (m->flags & FL_SUBMENU_POINTER) { // SUBMENU POINTER? Recurse to descend - int slen = strlen(name); + int slen = (int)strlen(name); const Fl_Menu_Item *submenu = (const Fl_Menu_Item*)m->user_data(); if (m->label()) { if (*name) SAFE_STRCAT("/"); |
