[asterisk-commits] rizzo: branch rizzo/cygwin_build r87946 - /team/rizzo/cygwin_build/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 31 16:47:38 CDT 2007


Author: rizzo
Date: Wed Oct 31 16:47:37 2007
New Revision: 87946

URL: http://svn.digium.com/view/asterisk?view=rev&rev=87946
Log:
use %lx for uint32_t under cygwin

Modified:
    team/rizzo/cygwin_build/main/astobj2.c

Modified: team/rizzo/cygwin_build/main/astobj2.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/cygwin_build/main/astobj2.c?view=diff&rev=87946&r1=87945&r2=87946
==============================================================================
--- team/rizzo/cygwin_build/main/astobj2.c (original)
+++ team/rizzo/cygwin_build/main/astobj2.c Wed Oct 31 16:47:37 2007
@@ -111,7 +111,7 @@
 
 	p = (struct astobj2 *) ((char *) user_data - sizeof(*p));
 	if (AO2_MAGIC != (p->priv_data.magic) ) {
-		ast_log(LOG_ERROR, "bad magic number 0x%x for %p\n", p->priv_data.magic, p);
+		ast_log(LOG_ERROR, "bad magic number 0x%lx for %p\n", p->priv_data.magic, p);
 		p = NULL;
 	}
 




More information about the asterisk-commits mailing list