]> git.sesse.net Git - freerainbowtables/blobdiff - Client Applications/rcracki_mt/MemoryPool.cpp
Merge branch 'master' of git@gitorious.org:freerainbowtables-applications/freerainbow...
[freerainbowtables] / Client Applications / rcracki_mt / MemoryPool.cpp
index 5c634c02df4c8cfa5515706731f76422b9c29805..77a4eabbd5aacca9bdd22776718c896ad7952084 100644 (file)
@@ -33,14 +33,14 @@ CMemoryPool::CMemoryPool(unsigned int bytesSaved, bool bDebug, uint64 maxMem)
        m_nMemSize = 0;\r
        debug = bDebug;\r
 \r
-       uint64 nAvailPhys = GetAvailPhysMemorySize();\r
+       unsigned long nAvailPhys = GetAvailPhysMemorySize();\r
 \r
        if ( debug )\r
        {\r
-               #ifdef _WIN32\r
+               #if defined(_WIN32) && !defined(__GNUC__)\r
                        printf( "Debug: nAvailPhys: %I64u\n", nAvailPhys );\r
                #else\r
-                       printf( "Debug: nAvailPhys: %llu\n", nAvailPhys );\r
+                       printf( "Debug: nAvailPhys: %lu\n", nAvailPhys );\r
                #endif\r
                printf( "Debug: bytesSaved: %d\n", bytesSaved );\r
        }\r