]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix proper type for .forceNonContiguous
authorYann Collet <cyan@fb.com>
Tue, 10 Dec 2024 22:14:07 +0000 (14:14 -0800)
committerYann Collet <cyan@fb.com>
Fri, 20 Dec 2024 18:36:57 +0000 (10:36 -0800)
lib/compress/zstd_compress_internal.h

index 737d1cc452ad01746929d3125de8c6e09bfa8d56..21e69650f38b046671ea9bd8e27de67efa73dbaa 100644 (file)
@@ -301,7 +301,7 @@ struct ZSTD_matchState_t {
     U32* hashTable3;
     U32* chainTable;
 
-    U32 forceNonContiguous; /* Non-zero if we should force non-contiguous load for the next window update. */
+    int forceNonContiguous; /* Non-zero if we should force non-contiguous load for the next window update. */
 
     int dedicatedDictSearch;  /* Indicates whether this matchState is using the
                                * dedicated dictionary search structure.