about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-03-28 10:23:11 +0100
committerhexcoder- <heiko@hexco.de>2020-03-28 10:23:11 +0100
commitfc46e9c9a0fb36fa7baeed9957f2c72a1318ec1e (patch)
treeb55048fd7a664d217cb15d3266245deed7f940f2
parent7a752d07959ac8350dbd1b18092ff369426fc905 (diff)
downloadafl++-fc46e9c9a0fb36fa7baeed9957f2c72a1318ec1e.tar.gz
alloc_inl.h/ck_maybe_grow(): fix compiler warning
-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? */