]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Typo in comment
authorBimba Shrestha <bimbashrestha@fb.com>
Sat, 16 Nov 2019 03:00:53 +0000 (19:00 -0800)
committerBimba Shrestha <bimbashrestha@fb.com>
Sat, 16 Nov 2019 03:00:53 +0000 (19:00 -0800)
lib/compress/zstd_compress.c

index 4ff825d9583a77c4d04393a3b48a5c870f3b963c..0639d3272400a3403a21399c5172b968caedef81 100644 (file)
@@ -2482,7 +2482,7 @@ static size_t ZSTD_compressBlock_targetCBlockSize(ZSTD_CCtx* zc,
          * targetCBlockSize is best effort not a guarantee. */
         if (cSize == ERROR(dstSize_tooSmall) || (dstCapacity - cSize) < 4) {
             /* We check (dstCapacity - cSize) < 4 above because we have to make sure
-             * to leave enouch room for the checksum that will eventually get added in
+             * to leave enough room for the checksum that will eventually get added in
              * the epilogue. Otherwise, we're just going to throw the dstSize_tooSmall
              * error there instead of here */
             BYTE* const ostart = (BYTE*)dst;