From e24f7fba53cc8f28d74b5039f7279d9bf945ff25 Mon Sep 17 00:00:00 2001 From: Igor Pavlov Date: Thu, 19 Nov 2015 00:00:00 +0000 Subject: 15.11 --- C/7zAlloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'C/7zAlloc.c') diff --git a/C/7zAlloc.c b/C/7zAlloc.c index 7a3d4c00..3e848c98 100644 --- a/C/7zAlloc.c +++ b/C/7zAlloc.c @@ -1,5 +1,5 @@ /* 7zAlloc.c -- Allocation functions -2015-02-21 : Igor Pavlov : Public domain */ +2015-11-09 : Igor Pavlov : Public domain */ #include "Precomp.h" @@ -26,7 +26,7 @@ void *SzAlloc(void *p, size_t size) if (size == 0) return 0; #ifdef _SZ_ALLOC_DEBUG - fprintf(stderr, "\nAlloc %10d bytes; count = %10d", size, g_allocCount); + fprintf(stderr, "\nAlloc %10u bytes; count = %10d", (unsigned)size, g_allocCount); g_allocCount++; #endif return malloc(size); @@ -51,7 +51,7 @@ void *SzAllocTemp(void *p, size_t size) if (size == 0) return 0; #ifdef _SZ_ALLOC_DEBUG - fprintf(stderr, "\nAlloc_temp %10d bytes; count = %10d", size, g_allocCountTemp); + fprintf(stderr, "\nAlloc_temp %10u bytes; count = %10d", (unsigned)size, g_allocCountTemp); g_allocCountTemp++; #ifdef _WIN32 return HeapAlloc(GetProcessHeap(), 0, size); -- cgit v1.2.3