From f3112547853a361f9c5419cfb6810b2a54c643e6 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Thu, 14 Jul 2016 14:15:29 +0200 Subject: + Fixed bug in opening SQP archives + More efficient version of GetNearestPowerOfTwo --- src/StormCommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/StormCommon.h') diff --git a/src/StormCommon.h b/src/StormCommon.h index 3c2148e..27ba45f 100644 --- a/src/StormCommon.h +++ b/src/StormCommon.h @@ -154,7 +154,7 @@ DWORD HashStringLower(const char * szFileName, DWORD dwHashType); void InitializeMpqCryptography(); -DWORD GetHashTableSizeForFileCount(DWORD dwFileCount); +DWORD GetNearestPowerOfTwo(DWORD dwFileCount); bool IsPseudoFileName(const char * szFileName, LPDWORD pdwFileIndex); ULONGLONG HashStringJenkins(const char * szFileName); -- cgit v1.2.3