From fc46e9c9a0fb36fa7baeed9957f2c72a1318ec1e Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Sat, 28 Mar 2020 10:23:11 +0100 Subject: alloc_inl.h/ck_maybe_grow(): fix compiler warning --- include/alloc-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/alloc-inl.h') 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? */ -- cgit 1.4.1