aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-08-06 13:56:45 +0200
committerMark Adler <madler@alumni.caltech.edu>2024-01-17 16:43:38 -0800
commitfe41d1892117fa81bd49f69b1c87d805635b853c (patch)
tree3cd9d5472ae157a81e44d835af916cb7ec852412 /contrib
parent01253ecd7e0a01d311670f2d03c61b82fc12d338 (diff)
downloadzlib-fe41d1892117fa81bd49f69b1c87d805635b853c.tar.gz
zlib-fe41d1892117fa81bd49f69b1c87d805635b853c.tar.bz2
zlib-fe41d1892117fa81bd49f69b1c87d805635b853c.zip
Correct typos in source code.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/minizip/unzip.c2
-rw-r--r--contrib/puff/puff.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/minizip/unzip.c b/contrib/minizip/unzip.c
index d3c0cea..ea05b7d 100644
--- a/contrib/minizip/unzip.c
+++ b/contrib/minizip/unzip.c
@@ -497,7 +497,7 @@ local unzFile unzOpenInternal(const void *path,
497 ZPOS64_T central_pos; 497 ZPOS64_T central_pos;
498 uLong uL; 498 uLong uL;
499 499
500 uLong number_disk; /* number of the current dist, used for 500 uLong number_disk; /* number of the current disk, used for
501 spanning ZIP, unsupported, always 0*/ 501 spanning ZIP, unsupported, always 0*/
502 uLong number_disk_with_CD; /* number the disk with central dir, used 502 uLong number_disk_with_CD; /* number the disk with central dir, used
503 for spanning ZIP, unsupported, always 0*/ 503 for spanning ZIP, unsupported, always 0*/
diff --git a/contrib/puff/puff.c b/contrib/puff/puff.c
index 6737ff6..d759825 100644
--- a/contrib/puff/puff.c
+++ b/contrib/puff/puff.c
@@ -593,10 +593,10 @@ local int fixed(struct state *s)
593 * provided for each of the literal/length symbols, and for each of the 593 * provided for each of the literal/length symbols, and for each of the
594 * distance symbols. 594 * distance symbols.
595 * 595 *
596 * - If a symbol is not used in the block, this is represented by a zero as 596 * - If a symbol is not used in the block, this is represented by a zero as the
597 * as the code length. This does not mean a zero-length code, but rather 597 * code length. This does not mean a zero-length code, but rather that no
598 * that no code should be created for this symbol. There is no way in the 598 * code should be created for this symbol. There is no way in the deflate
599 * deflate format to represent a zero-length code. 599 * format to represent a zero-length code.
600 * 600 *
601 * - The maximum number of bits in a code is 15, so the possible lengths for 601 * - The maximum number of bits in a code is 15, so the possible lengths for
602 * any code are 1..15. 602 * any code are 1..15.