diff --git a/Autoupdate/SUBinaryDeltaCommon.m b/Autoupdate/SUBinaryDeltaCommon.m index 03e52d6e1..b84eec00c 100644 --- a/Autoupdate/SUBinaryDeltaCommon.m +++ b/Autoupdate/SUBinaryDeltaCommon.m @@ -301,7 +301,7 @@ BOOL getRawHashOfTreeAndFileTablesWithVersion(void *hashBuffer, NSString *path, CC_SHA1_CTX hashContext; uLong crc32ChecksumValue = 0; - if (majorVersion < 4) { + if (majorVersion < SUBinaryDeltaMajorVersion4) { CC_SHA1_Init(&hashContext); }