From a854f6b6aa81e7b387bce2293e9c84e0e96dfbd6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 26 May 2017 19:18:44 +0300 Subject: Fix code style. --- src/gui/sdlinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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)); -- cgit v1.2.3-70-g09d2