diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2020-07-03 20:37:11 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-08-14 22:20:50 +0200 |
commit | 9ee4f8a100057519b021a3a756741fa3d4664f7e (patch) | |
tree | 9f46c83d46ba8a61a9eee668c1f8a46c25dec622 /functable.h | |
parent | 2928d96e2a950f81ade2ff198a11800d2168b983 (diff) |
Fixed many possible loss of data warnings where insert_string and quick_insert_string function used on Windows.
Diffstat (limited to 'functable.h')
-rw-r--r-- | functable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functable.h b/functable.h index 4571242..dab313d 100644 --- a/functable.h +++ b/functable.h @@ -9,8 +9,8 @@ #include "deflate.h" struct functable_s { - Pos (* insert_string) (deflate_state *const s, const Pos str, unsigned int count); - Pos (* quick_insert_string)(deflate_state *const s, const Pos str); + Pos (* insert_string) (deflate_state *const s, const uint32_t str, uint32_t count); + Pos (* quick_insert_string)(deflate_state *const s, const uint32_t str); uint32_t (* adler32) (uint32_t adler, const unsigned char *buf, size_t len); uint32_t (* crc32) (uint32_t crc, const unsigned char *buf, uint64_t len); void (* slide_hash) (deflate_state *s); |