From 709ae55108ac1fb0fd4567549372eb71d39ac56e Mon Sep 17 00:00:00 2001 From: moritz Date: Wed, 8 Aug 2007 13:24:29 +0000 Subject: [PATCH] Sync. git-svn-id: https://svn.xiph.org/trunk/ezstream@13460 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/xalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xalloc.c b/src/xalloc.c index 9bbdab8..f5f6c77 100644 --- a/src/xalloc.c +++ b/src/xalloc.c @@ -594,7 +594,7 @@ xrealloc_c(void *ptr, size_t nmemb, size_t size, #ifdef XALLOC_DEBUG if (debug_level > 0) { struct memory *mem_exists; - ssize_t diff = nsiz - mem->size; + ssize_t diff = (ssize_t)(nsiz - mem->size); XALLOC_LOCK(xalloc_mutex); xalloc_allocated += diff;