change seqDef.offset into seqDef.offBase

to better reflect the value stored in this field.
This commit is contained in:
Yann Collet
2021-12-23 17:56:08 -08:00
parent e145b58cfd
commit aeff128331
7 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -647,7 +647,7 @@ void ZSTD_storeSeq(seqStore_t* seqStorePtr, size_t litLength, const BYTE* litera
seqStorePtr->sequences[0].litLength = (U16)litLength;
/* match offset */
seqStorePtr->sequences[0].offset = offCode + 1;
seqStorePtr->sequences[0].offBase = offCode + 1;
/* match Length */
assert(matchLength >= MINMATCH);