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
commitb56ab3f56976deee9b8b590bf8570751e2e0c178 (patch)
tree42fe393a335e7d83f20b810c752ed094142982f7 /malloc.c
parent82c44c50a6adebfc25db2f222c4e0dd4410f0f07 (diff)
downloadperl-b56ab3f56976deee9b8b590bf8570751e2e0c178.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