From 59af3b9729cb325fa65698f534bb87e77401c6a6 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 3 Aug 2022 22:49:08 +0200 Subject: Extended size of cast even more It looks that after update of mingw there were some narrowing problems again, but only for selected constants. This is worrying but not pressing at all. --- StarsEx/Joystick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StarsEx') 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(hr); + auto casted = static_cast(hr); switch (casted) { default: sprintf_s(errstrbuf, "Unrecognized error value = %08x.", casted); -- cgit v1.1