summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2002-05-07 23:42:42 +0000
committerGurusamy Sarathy <gsar@cpan.org>2002-05-07 23:42:42 +0000
commit6e21dc912fff1c74f60032b406b7b96bd0c3ee86 (patch)
tree42fe393a335e7d83f20b810c752ed094142982f7 /malloc.c
parent22a65f1e060cc583560af22c8de3f5ccad3c0161 (diff)
downloadperl-6e21dc912fff1c74f60032b406b7b96bd0c3ee86.tar.gz
fixes for various warnings identified by Visual C++
p4raw-id: //depot/perl@16460
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/malloc.c b/malloc.c
index aafe41d709..00c387ed6c 100644
--- a/malloc.c
+++ b/malloc.c
@@ -930,7 +930,7 @@ static u_int goodsbrk;
static char *emergency_buffer;
static MEM_SIZE emergency_buffer_size;
-static int no_mem; /* 0 if the last request for more memory succeeded.
+static MEM_SIZE no_mem; /* 0 if the last request for more memory succeeded.
Otherwise the size of the failing request. */
static Malloc_t
@@ -1167,7 +1167,7 @@ Perl_malloc(register size_t nbytes)
static char *last_sbrk_top;
static char *last_op; /* This arena can be easily extended. */
-static int sbrked_remains;
+static MEM_SIZE sbrked_remains;
static int sbrk_good = SBRK_ALLOW_FAILURES * SBRK_FAILURE_PRICE;
#ifdef DEBUGGING_MSTATS