alloc_inl.h/ck_maybe_grow(): fix compiler warning

This commit is contained in:
hexcoder- 2020-03-28 10:23:11 +01:00
parent 7a752d0795
commit fc46e9c9a0

View File

@ -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? */