From ca50ebd4dfd08dfd7e8c8bb087278e158cd67720 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 3 Dec 2016 10:27:14 -0800 Subject: Create z_size_t and z_ssize_t types. Normally these are set to size_t and ssize_t. But if they do not exist, then they are set to the smallest integer type that can contain a pointer. size_t is unsigned and ssize_t is signed. --- gzread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gzread.c') diff --git a/gzread.c b/gzread.c index d41704a..b05229e 100644 --- a/gzread.c +++ b/gzread.c @@ -23,7 +23,7 @@ local int gz_load(state, buf, len, have) unsigned len; unsigned *have; { - ssize_t ret; + z_ssize_t ret; *have = 0; do { -- cgit v1.2.1