X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Common%2Frt%20api%2FMemoryPool.h;h=c5668e5dfde6f85d208c36ff366daee712b2e517;hb=47c71901e7a97c226c8f1df749e3606d43656f32;hp=d40d5a7d6bcf7fa8f7d927f2396704a01c082c2b;hpb=0fb676244827a448dc60118d6558c4a4e346ffee;p=freerainbowtables diff --git a/Common/rt api/MemoryPool.h b/Common/rt api/MemoryPool.h index d40d5a7..c5668e5 100644 --- a/Common/rt api/MemoryPool.h +++ b/Common/rt api/MemoryPool.h @@ -5,7 +5,7 @@ * Copyright (C) Zhu Shuanglei * Copyright 2010 Martin Westergaard Jørgensen * Copyright 2009, 2010 Daniël Niggebrugge - * Copyright 2009, 2010 James Nobis + * Copyright 2009, 2010, 2011 James Nobis * Copyright 2010 uroskn * * This file is part of freerainbowtables. @@ -38,12 +38,12 @@ public: private: bool debug; unsigned char* m_pMem; - unsigned int m_nMemSize; + uint64 m_nMemSize; - unsigned int m_nMemMax; + uint64 m_nMemMax; public: - unsigned char* Allocate(unsigned int nFileLen, unsigned int& nAllocatedSize); + unsigned char* Allocate(unsigned int nFileLen, uint64& nAllocatedSize); }; #endif