alloc_inl.h/ck_maybe_grow(): fix compiler warning

This commit is contained in:
hexcoder-
2020-03-28 10:23:11 +01:00
committed by Dominik Maier
parent 0732e66da9
commit 9d7ac3d99f

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. Will FATAL if size_needed is <1 or *size is negative.
@return For convenience, this function returns *buf. @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) { size_t size_needed) {
/* Oops. found a bug? */ /* Oops. found a bug? */