about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-03-28 10:23:11 +0100
committerDominik Maier <domenukk@gmail.com>2020-04-01 13:10:06 +0200
commit9d7ac3d99f95981df63f207f9b109182c69d8884 (patch)
treeb55048fd7a664d217cb15d3266245deed7f940f2
parent0732e66da92d0c7c84d86fcd8fcec05bf70c4be1 (diff)
downloadafl++-9d7ac3d99f95981df63f207f9b109182c69d8884.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? */