fixed incorrect assert

This commit is contained in:
Yann Collet 2020-06-18 16:13:13 -07:00
parent a7a617584c
commit 00833b2631

View File

@ -1496,7 +1496,7 @@ static int XSUM_hashFile(const char* fileName,
FILE* inFile;
Multihash hashValue;
assert(displayEndianess==big_endian || displayEndianess==little_endian);
assert(displayEndianess==display_gnu || displayEndianess==display_bsd);
assert(convention==display_gnu || convention==display_bsd);
/* Check file existence */
if (fileName == stdinName) {