1
0

More MSVC warning fixes.

This commit is contained in:
madmaxoft
2014-01-07 16:00:19 +01:00
parent bcd41dc1aa
commit 39a1bcdea0
9 changed files with 11 additions and 11 deletions

View File

@@ -493,7 +493,7 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
if (split[0].compare("killmem") == 0)
{
while (true)
for (;;)
{
new char[100 * 1024 * 1024]; // Allocate and leak 100 MiB in a loop -> fill memory and kill MCS
}