summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2021-05-30 17:25:21 (GMT)
committerGitHub <noreply@github.com>2021-05-30 17:25:21 (GMT)
commitbc8230aab780c959b803441275f6510f6f816c9e (patch)
treee891a98e3fbc7fa736bc9e82f5fd8c100cc28e38
parent1519312d2415ac4efa37b9f9594c2f812559f505 (diff)
parent3c3624c3a6e1b1f7a85590e288b28e2b6eaf501b (diff)
downloadlz4-bc8230aab780c959b803441275f6510f6f816c9e.zip
lz4-bc8230aab780c959b803441275f6510f6f816c9e.tar.gz
lz4-bc8230aab780c959b803441275f6510f6f816c9e.tar.bz2
Merge pull request #993 from t-mat/fix-enum-unsigned-cmp
Fix g++-4.4 warning
-rw-r--r--tests/checkFrame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkFrame.c b/tests/checkFrame.c
index 2b50bae..946805f 100644
--- a/tests/checkFrame.c
+++ b/tests/checkFrame.c
@@ -153,7 +153,7 @@ int frameCheck(cRess_t ress, FILE* const srcFile, unsigned bsid, size_t blockSiz
if (LZ4F_isError(nextToLoad))
EXM_THROW(22, "Error getting frame info: %s",
LZ4F_getErrorName(nextToLoad));
- if (frameInfo.blockSizeID != bsid)
+ if (frameInfo.blockSizeID != (LZ4F_blockSizeID_t) bsid)
EXM_THROW(23, "Block size ID %u != expected %u",
frameInfo.blockSizeID, bsid);
pos += remaining;