Jerry D. Hedden [Mon, 23 Jun 2008 09:41:11 +0000 (05:41 -0400)]
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <
1ff86f510806230641x37afed4bla697e381b3ba9d6d@mail.gmail.com>
p4raw-id: //depot/perl@34078
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;