[xiph-commits] r13459 - experimental/moritz/xalloc
moritz at svn.xiph.org
moritz at svn.xiph.org
Wed Aug 8 06:24:01 PDT 2007
Author: moritz
Date: 2007-08-08 06:24:01 -0700 (Wed, 08 Aug 2007)
New Revision: 13459
Modified:
experimental/moritz/xalloc/xalloc.c
Log:
Explicit cast to ssize_t (redundant, shuts up a warning on Windows.)
Modified: experimental/moritz/xalloc/xalloc.c
===================================================================
--- experimental/moritz/xalloc/xalloc.c 2007-08-08 13:15:04 UTC (rev 13458)
+++ experimental/moritz/xalloc/xalloc.c 2007-08-08 13:24:01 UTC (rev 13459)
@@ -594,7 +594,7 @@
#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;
More information about the commits
mailing list