X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Client%20Applications%2Frti2rto%2Frti2rto.cpp;h=760a7f56a552b429bb583cf993dd138661f7631f;hb=47c71901e7a97c226c8f1df749e3606d43656f32;hp=ba7f16315e6f4f7531b33082087db2e14b27db0e;hpb=86bbf0fd5ba4e07d3279b4179fd8fc808198eaae;p=freerainbowtables diff --git a/Client Applications/rti2rto/rti2rto.cpp b/Client Applications/rti2rto/rti2rto.cpp index ba7f163..760a7f5 100644 --- a/Client Applications/rti2rto/rti2rto.cpp +++ b/Client Applications/rti2rto/rti2rto.cpp @@ -97,7 +97,7 @@ void ConvertRainbowTable(string sPathName, string sResultFileName, string sType) return; } static CMemoryPool mp; - unsigned int nAllocatedSize; + uint64 nAllocatedSize; BaseRTReader *reader = NULL; if(sType == "RTI2") reader = (BaseRTReader*)new RTI2Reader(sFileName); @@ -108,7 +108,7 @@ void ConvertRainbowTable(string sPathName, string sResultFileName, string sType) printf("Invalid table type '%s'", sType.c_str()); return ; } - int size = reader->GetChainsLeft() * sizeof(RainbowChain); + uint64 size = reader->GetChainsLeft() * sizeof(RainbowChain); #ifdef _MEMORYDEBUG printf("Starting allocation of %i bytes\n", size); #endif