[asterisk-commits] tilghman: branch tilghman/malloc_hold r209600 - /team/tilghman/malloc_hold/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 30 14:28:57 CDT 2009
Author: tilghman
Date: Thu Jul 30 14:28:54 2009
New Revision: 209600
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=209600
Log:
Yet another OpenBSD fix
Modified:
team/tilghman/malloc_hold/main/astmm.c
Modified: team/tilghman/malloc_hold/main/astmm.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/tilghman/malloc_hold/main/astmm.c?view=diff&rev=209600&r1=209599&r2=209600
==============================================================================
--- team/tilghman/malloc_hold/main/astmm.c (original)
+++ team/tilghman/malloc_hold/main/astmm.c Thu Jul 30 14:28:54 2009
@@ -237,7 +237,7 @@
astmm_log("Intercepted invalid %s to %p (%p+%d), originally allocated in %s at %s:%u and freed in %s at %s:%u\n",
violations[i].error == PROT_READ ? "read" : "write",
violations[i].violation, cur->data,
- violations[i].violation - (void *) cur->data,
+ (int) (violations[i].violation - (void *) cur->data),
cur->alloc_func, cur->alloc_file, cur->alloc_lineno,
cur->free_func, cur->free_file, cur->free_lineno);
memset(&violations[i], 0, sizeof(violations[i]));
More information about the asterisk-commits
mailing list