aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/hooks.c2
-rw-r--r--malloc/malloc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/malloc/hooks.c b/malloc/hooks.c
index a36980360a..9ce8515b2a 100644
--- a/malloc/hooks.c
+++ b/malloc/hooks.c
@@ -527,7 +527,7 @@ int
public_sET_STATe(Void_t* msptr)
{
struct malloc_save_state* ms = (struct malloc_save_state*)msptr;
- int i;
+ size_t i;
mbinptr b;
disallow_malloc_check = 1;
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 03c3c9a33b..3eba2bec45 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -5011,7 +5011,7 @@ size_t mUSABLe(mem) Void_t* mem;
struct mallinfo mALLINFo(mstate av)
{
struct mallinfo mi;
- int i;
+ size_t i;
mbinptr b;
mchunkptr p;
INTERNAL_SIZE_T avail;