diff options
author | Jerry D. Hedden <jdhedden@cpan.org> | 2008-06-23 05:41:11 -0400 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-06-23 14:10:16 +0000 |
commit | 532939df3783fc17b262c6a30b57e0b086abe4aa (patch) | |
tree | fce6b6e89ab6f13ba66fd8e9aff88afb819e11c4 /malloc.c | |
parent | 8b0dea507b8f946d8546917b8fda74bfbf233ac0 (diff) | |
download | perl-532939df3783fc17b262c6a30b57e0b086abe4aa.tar.gz |
Fix malloc.c warning
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510806230641x37afed4bla697e381b3ba9d6d@mail.gmail.com>
p4raw-id: //depot/perl@34078
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2293,7 +2293,7 @@ Perl_realloc(void *mp, size_t nbytes) nmalloc[bucket]--; nmalloc[pow * BUCKETS_PER_POW2]++; #endif - if (pow * BUCKETS_PER_POW2 > max_bucket) + if (pow * BUCKETS_PER_POW2 > (MEM_SIZE)max_bucket) max_bucket = pow * BUCKETS_PER_POW2; *(cp - M_OVERHEAD) = pow * BUCKETS_PER_POW2; /* Fill index. */ MALLOC_UNLOCK; |