]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix typos (#1825)
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>
Fri, 20 Dec 2024 22:35:50 +0000 (00:35 +0200)
committerGitHub <noreply@github.com>
Fri, 20 Dec 2024 22:35:50 +0000 (23:35 +0100)
test/infcover.c
zlib-ng.h.in
zlib.h.in

index 6a9999e0f0dfd0aedd44e329756deff83fbfe178..e436888b9bacaca29b41bc23ad7bd3b3e2be17a9 100644 (file)
@@ -626,7 +626,7 @@ static void cover_trees(void) {
     code *next, table[ENOUGH_DISTS];
 
     /* we need to call inflate_table() directly in order to manifest not-
-       enough errors, since zlib insures that enough is always enough */
+       enough errors, since zlib ensures that enough is always enough */
     for (bits = 0; bits < 15; bits++)
         lens[bits] = (uint16_t)(bits + 1);
     lens[15] = 15;
index 5a8c04f0deba166faeea0e42fc4db94b6b091f4f..527df05746c61fc4b7b454ded9270db87a493b2d 100644 (file)
@@ -880,7 +880,7 @@ int32_t zng_inflateSetDictionary(zng_stream *strm, const uint8_t *dictionary, ui
    deflateSetDictionary).  For raw inflate, this function can be called at any
    time to set the dictionary.  If the provided dictionary is smaller than the
    window and there is already data in the window, then the provided dictionary
-   will amend what's there.  The application must insure that the dictionary
+   will amend what's there.  The application must ensure that the dictionary
    that was used for compression is provided.
 
      inflateSetDictionary returns Z_OK if success, Z_STREAM_ERROR if a
index 1dc4f7ec4a85c99b49f834c43d772d0143290531..3bcbca20e8c5a7d58deacbd27dc7b8a0221480be 100644 (file)
--- a/zlib.h.in
+++ b/zlib.h.in
@@ -890,7 +890,7 @@ Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *
    deflateSetDictionary).  For raw inflate, this function can be called at any
    time to set the dictionary.  If the provided dictionary is smaller than the
    window and there is already data in the window, then the provided dictionary
-   will amend what's there.  The application must insure that the dictionary
+   will amend what's there.  The application must ensure that the dictionary
    that was used for compression is provided.
 
      inflateSetDictionary returns Z_OK if success, Z_STREAM_ERROR if a