mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-13 09:48:15 +03:00
MSVS build: Suppress warning C4244 (possible loss of data)
VC++ is picky about narrowing conversion. Let's ignore it instead of scattering static_casts.
This commit is contained in:
+1
-1
@@ -302,7 +302,7 @@ void NACT::message()
|
||||
else
|
||||
break;
|
||||
}
|
||||
int len = static_cast<int>(end - begin);
|
||||
int len = end - begin;
|
||||
scenario_addr += len;
|
||||
|
||||
char* buf = (char*)alloca(len + 1);
|
||||
|
||||
Reference in New Issue
Block a user