summaryrefslogtreecommitdiff
path: root/contrib/infback9
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/infback9')
-rw-r--r--contrib/infback9/infback9.c6
-rw-r--r--contrib/infback9/inftree9.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/infback9/infback9.c b/contrib/infback9/infback9.c
index fb6acb4..34a95fc 100644
--- a/contrib/infback9/infback9.c
+++ b/contrib/infback9/infback9.c
@@ -321,7 +321,7 @@ void FAR *out_desc;
321 break; 321 break;
322 } 322 }
323 length = (unsigned)hold & 0xffff; 323 length = (unsigned)hold & 0xffff;
324 Tracev((stderr, "inflate: stored length %u\n", 324 Tracev((stderr, "inflate: stored length %lu\n",
325 length)); 325 length));
326 INITBITS(); 326 INITBITS();
327 327
@@ -507,7 +507,7 @@ void FAR *out_desc;
507 length += BITS(extra); 507 length += BITS(extra);
508 DROPBITS(extra); 508 DROPBITS(extra);
509 } 509 }
510 Tracevv((stderr, "inflate: length %u\n", length)); 510 Tracevv((stderr, "inflate: length %lu\n", length));
511 511
512 /* get distance code */ 512 /* get distance code */
513 for (;;) { 513 for (;;) {
@@ -545,7 +545,7 @@ void FAR *out_desc;
545 mode = BAD; 545 mode = BAD;
546 break; 546 break;
547 } 547 }
548 Tracevv((stderr, "inflate: distance %u\n", offset)); 548 Tracevv((stderr, "inflate: distance %lu\n", offset));
549 549
550 /* copy match from window to output */ 550 /* copy match from window to output */
551 do { 551 do {
diff --git a/contrib/infback9/inftree9.c b/contrib/infback9/inftree9.c
index 0c544cf..2829a84 100644
--- a/contrib/infback9/inftree9.c
+++ b/contrib/infback9/inftree9.c
@@ -9,7 +9,7 @@
9#define MAXBITS 15 9#define MAXBITS 15
10 10
11const char inflate9_copyright[] = 11const char inflate9_copyright[] =
12 " inflate9 1.2.0.6 Copyright 1995-2003 Mark Adler "; 12 " inflate9 1.2.0.7 Copyright 1995-2003 Mark Adler ";
13/* 13/*
14 If you use the zlib library in a product, an acknowledgment is welcome 14 If you use the zlib library in a product, an acknowledgment is welcome
15 in the documentation of your product. If for some reason you cannot 15 in the documentation of your product. If for some reason you cannot
@@ -64,7 +64,7 @@ unsigned short FAR *work;
64 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ 64 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
65 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129, 65 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
66 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132, 66 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
67 133, 133, 133, 133, 144, 65, 77}; 67 133, 133, 133, 133, 144, 71, 69};
68 static const unsigned short dbase[32] = { /* Distance codes 0..31 base */ 68 static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
69 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 69 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
70 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 70 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,