summaryrefslogtreecommitdiff
path: root/src/Fl_Input.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Input.cxx')
-rw-r--r--src/Fl_Input.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx
index 880b7c676..bc94a8897 100644
--- a/src/Fl_Input.cxx
+++ b/src/Fl_Input.cxx
@@ -374,7 +374,7 @@ int Fl_Input::handle_key() {
return 1;
}
- unsigned int mods = Fl::event_state() & (FL_META|FL_CTRL|FL_ALT);
+ int mods = Fl::event_state() & (FL_META|FL_CTRL|FL_ALT);
unsigned int shift = Fl::event_state() & FL_SHIFT;
unsigned int multiline = (input_type() == FL_MULTILINE_INPUT) ? 1 : 0;
//