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:
kichikuou
2021-01-02 13:22:36 +09:00
parent 60a0b43831
commit 1d3715580b
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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);