From 6a6247d179ec3859311c2d8775841b884f309f66 Mon Sep 17 00:00:00 2001 From: Zachary Waldowski Date: Sat, 30 Nov 2013 02:55:48 -0500 Subject: [PATCH] Darwin: Fix dlmalloc warnings due to sizeof(size_t) --- src/dlmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlmalloc.c b/src/dlmalloc.c index 2c55ceb3..8725b4fd 100644 --- a/src/dlmalloc.c +++ b/src/dlmalloc.c @@ -1661,7 +1661,7 @@ struct malloc_chunk { typedef struct malloc_chunk mchunk; typedef struct malloc_chunk* mchunkptr; typedef struct malloc_chunk* sbinptr; /* The type of bins of chunks */ -typedef unsigned int bindex_t; /* Described below */ +typedef size_t bindex_t; /* Described below */ typedef unsigned int binmap_t; /* Described below */ typedef unsigned int flag_t; /* The type of various bit flag sets */