summaryrefslogtreecommitdiff
path: root/inflate.h
diff options
context:
space:
mode:
authorHans Kristian Rosbach <hk-git@circlestorm.org>2015-05-16 21:23:07 +0200
committerMika Lindqvist <postmaster@raasu.org>2015-05-22 22:15:29 +0300
commit62c6d5ec70f0426f19dfb75a3b48f1b80094ee70 (patch)
tree42de328db0572a82a43fcc5f0efc9dbc5c20a0c0 /inflate.h
parent80d5ed789c3d4c6bbb53c0c5239ba0cb39316d4d (diff)
Replace unsigned short with uint16_t
Conflicts: inflate.h inftrees.c inftrees.h match.c
Diffstat (limited to 'inflate.h')
-rw-r--r--inflate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/inflate.h b/inflate.h
index dbd26f0..c6e7ff8 100644
--- a/inflate.h
+++ b/inflate.h
@@ -112,9 +112,9 @@ struct inflate_state {
unsigned nlen; /* number of length code lengths */
unsigned ndist; /* number of distance code lengths */
unsigned have; /* number of code lengths in lens[] */
- code *next; /* next available space in codes[] */
- unsigned short lens[320]; /* temporary storage for code lengths */
- unsigned short work[288]; /* work area for code table building */
+ code *next; /* next available space in codes[] */
+ uint16_t lens[320]; /* temporary storage for code lengths */
+ uint16_t work[288]; /* work area for code table building */
code codes[ENOUGH]; /* space for code tables */
int sane; /* if false, allow invalid distance too far */
int back; /* bits back of last unprocessed length/lit */