diff options
Diffstat (limited to 'StarsEx/Joystick.cpp')
-rw-r--r-- | StarsEx/Joystick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StarsEx/Joystick.cpp b/StarsEx/Joystick.cpp index 8b1a2ee..6881547 100644 --- a/StarsEx/Joystick.cpp +++ b/StarsEx/Joystick.cpp @@ -834,7 +834,7 @@ static char errstrbuf[128]; const char* DIErrStr(HRESULT hr) { - auto casted = static_cast<long unsigned int>(hr); + auto casted = static_cast<long long int>(hr); switch (casted) { default: sprintf_s(errstrbuf, "Unrecognized error value = %08x.", casted); |