diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-04-06 13:25:17 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-04-06 13:25:17 +0200 |
| commit | f6a93eb06093c61ee8daab9e01ed809573b991c4 (patch) | |
| tree | 2c533b99d27960ff3361556172acc2168f5e7e86 /src/Fl_Message.cxx | |
| parent | 3be89234b0f53b4ee9710be1c6a28c8199d98f0c (diff) | |
Remove warnings: comparison of integer expressions of different signedness [-Wsign-compare]
Diffstat (limited to 'src/Fl_Message.cxx')
| -rw-r--r-- | src/Fl_Message.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Message.cxx b/src/Fl_Message.cxx index 06c2e76f6..09dd5692a 100644 --- a/src/Fl_Message.cxx +++ b/src/Fl_Message.cxx @@ -555,7 +555,7 @@ int Fl_Message_Box::handle(int e) { switch (e) { case FL_KEYBOARD: case FL_SHORTCUT: - if (Fl::event_key() == 'c' && mods == FL_COMMAND) { + if (Fl::event_key() == 'c' && (int)mods == FL_COMMAND) { Fl::copy(label(), int(strlen(label())), 1); return 1; } |
