summaryrefslogtreecommitdiff
path: root/src/StormCommon.h
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avg.com>2016-07-14 14:15:29 +0200
committerLadislav Zezula <ladislav.zezula@avg.com>2016-07-14 14:15:29 +0200
commitf3112547853a361f9c5419cfb6810b2a54c643e6 (patch)
treeef7998fbd7f3d47e564005dd0b173151275329f3 /src/StormCommon.h
parent7597fe1702e4f27faf51d201b566139e17ad4342 (diff)
+ Fixed bug in opening SQP archives
+ More efficient version of GetNearestPowerOfTwo
Diffstat (limited to 'src/StormCommon.h')
-rw-r--r--src/StormCommon.h2
1 files changed, 1 insertions, 1 deletions
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);