Change 34078 by [EMAIL PROTECTED] on 2008/06/23 14:10:16

        Subject: [PATCH] Fix malloc.c warning
        From: "Jerry D. Hedden" <[EMAIL PROTECTED]>
        Date: Mon, 23 Jun 2008 09:41:11 -0400
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/malloc.c#132 edit

Differences ...

==== //depot/perl/malloc.c#132 (text) ====
Index: perl/malloc.c
--- perl/malloc.c#131~34076~    2008-06-21 07:33:18.000000000 -0700
+++ perl/malloc.c       2008-06-23 07:10:16.000000000 -0700
@@ -2293,7 +2293,7 @@
                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;
End of Patch.

Reply via email to