diff options
author | hexcoder- <heiko@hexco.de> | 2020-03-28 10:23:11 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-03-28 10:23:11 +0100 |
commit | fc46e9c9a0fb36fa7baeed9957f2c72a1318ec1e (patch) | |
tree | b55048fd7a664d217cb15d3266245deed7f940f2 | |
parent | 7a752d07959ac8350dbd1b18092ff369426fc905 (diff) | |
download | afl++-fc46e9c9a0fb36fa7baeed9957f2c72a1318ec1e.tar.gz |
alloc_inl.h/ck_maybe_grow(): fix compiler warning
-rw-r--r-- | include/alloc-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/alloc-inl.h b/include/alloc-inl.h index 99a83413..ae908162 100644 --- a/include/alloc-inl.h +++ b/include/alloc-inl.h @@ -774,7 +774,7 @@ static inline void TRK_ck_free(void *ptr, const char *file, const char *func, Will FATAL if size_needed is <1 or *size is negative. @return For convenience, this function returns *buf. */ -static inline void *ck_maybe_grow(void **buf, size_t *size, +static inline void *ck_maybe_grow(void **buf, ssize_t *size, size_t size_needed) { /* Oops. found a bug? */ |