summaryrefslogtreecommitdiff
path: root/trees.h
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2015-05-23 01:17:27 +0300
committerMika Lindqvist <postmaster@raasu.org>2015-05-23 01:22:20 +0300
commit09403c93fdc681eae41539ee98125b3b8b72d631 (patch)
tree525501de4a3c6611d6a15125dbd5fdc7464d82dc /trees.h
parent8cde675c1461a24f7ee76be1e07ccb7046d7c7e8 (diff)
Cleanup user-defined types for 'unsigned char'
* Change 'uch' to 'unsigned char' * Change 'Byte' to 'unsigned char'
Diffstat (limited to 'trees.h')
-rw-r--r--trees.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/trees.h b/trees.h
index 9a4ce94..777e1bb 100644
--- a/trees.h
+++ b/trees.h
@@ -70,7 +70,7 @@ local const ct_data static_dtree[D_CODES] = {
{{19},{ 5}}, {{11},{ 5}}, {{27},{ 5}}, {{ 7},{ 5}}, {{23},{ 5}}
};
-const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
+const unsigned char ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8,
8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
@@ -99,7 +99,7 @@ const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29
};
-const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
+const unsigned char ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12,
13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16,
17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19,