diff --git a/src/tabcontrollers/keyboardinput/KeyboardInputWindows.cpp b/src/tabcontrollers/keyboardinput/KeyboardInputWindows.cpp index b4f7b6e..471f27a 100644 --- a/src/tabcontrollers/keyboardinput/KeyboardInputWindows.cpp +++ b/src/tabcontrollers/keyboardinput/KeyboardInputWindows.cpp @@ -25,7 +25,7 @@ void sendKeyboardInputRaw(int inputCount, LPINPUT input) { nullptr, errCode, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // default language - (LPTSTR)&err, + reinterpret_cast(&err), 0, nullptr)){ LOG(ERROR) << "Error calling SendInput(): Could not get error message (" << errCode << ")";