fixed conversion warnings

This commit is contained in:
Yann Collet
2016-06-14 15:34:24 +02:00
parent 45c03c564f
commit d059092897
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -881,7 +881,7 @@ static size_t ZSTD_decompressSequences(
/* check if reached exact end */
if (nbSeq) return ERROR(corruption_detected);
/* save reps for next block */
{ U32 i; for (i=0; i<ZSTD_REP_INIT; i++) dctx->rep[i] = seqState.prevOffset[i]; }
{ U32 i; for (i=0; i<ZSTD_REP_INIT; i++) dctx->rep[i] = (U32)(seqState.prevOffset[i]); }
}
/* last literal segment */