about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/alloc-inl.h2
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? */