diff options
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index 86f2a1b37..ead88bf6a 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -367,7 +367,7 @@ void SDLInput::simulateKey(const int guiKey, keyInput.setType(KeyEventType::PRESSED); #ifdef USE_SDL2 char str[2]; - str[0] = guiKey; + str[0] = CAST_S8(guiKey); str[1] = 0; keyInput.setKey(Key(KeyValue::TEXTINPUT)); |