diff --git a/xxhsum.c b/xxhsum.c index 5838e37..e73a955 100644 --- a/xxhsum.c +++ b/xxhsum.c @@ -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) {