removed UINT32_MAX

apparently not guaranteed on all platforms,
replaced by UINT_MAX.
This commit is contained in:
Yann Collet
2019-05-31 17:27:07 -07:00
parent fce4df3ab7
commit 80d6ccea79
2 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -3301,7 +3301,7 @@ static size_t ZSTD_compressBegin_internal(ZSTD_CCtx* cctx,
cctx->blockState.prevCBlock, &cctx->blockState.matchState,
&params, dict, dictSize, dictContentType, dtlm, cctx->entropyWorkspace);
FORWARD_IF_ERROR(dictID);
assert(dictID <= UINT32_MAX);
assert(dictID <= UINT_MAX);
cctx->dictID = (U32)dictID;
}
return 0;