* Copyright 2009, 2010 James Nobis <frt@quelrod.net>\r
* Copyright 2010 uroskn\r
*\r
- * This file is part of racrcki_mt.\r
+ * This file is part of rcracki_mt.\r
*\r
* rcracki_mt is free software: you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
\r
if ( debug )\r
{\r
- printf( "Debug: nAvailPhys: %llu\n", nAvailPhys );\r
+ #ifdef _WIN32\r
+ printf( "Debug: nAvailPhys: %I64u\n", nAvailPhys );\r
+ #else\r
+ printf( "Debug: nAvailPhys: %llu\n", nAvailPhys );\r
+ #endif\r
printf( "Debug: bytesSaved: %d\n", bytesSaved );\r
}\r
\r
m_pMem = new (nothrow) unsigned char[nTargetSize];\r
while (m_pMem == NULL && nTargetSize >= 32 * 1024 * 1024 )\r
{\r
- nTargetSize -= 16 * 1024 * 1024;\r
- m_pMem = new (nothrow) unsigned char[nTargetSize];\r
+ nTargetSize -= 16 * 1024 * 1024;\r
+ m_pMem = new (nothrow) unsigned char[nTargetSize];\r
}\r
\r
if (m_pMem != NULL)\r