[asterisk-addons-commits] mnicholson: branch mnicholson/chan-mobile-refactor r757 - /team/mnicholson/ch...

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Wed Jan 28 10:19:16 CST 2009


Author: mnicholson
Date: Wed Jan 28 10:19:15 2009
New Revision: 757

URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=757
Log:
fix debug output to work on 64 bit machines

Modified:
    team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c

Modified: team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c?view=diff&rev=757&r1=756&r2=757
==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Wed Jan 28 10:19:15 2009
@@ -1046,7 +1046,7 @@
 	char *p = buf;
 	ssize_t out_count;
 
-	ast_debug(1, "rfcomm_write() (%d) [%.*s]\n", rsock, count, buf);
+	ast_debug(1, "rfcomm_write() (%d) [%.*s]\n", rsock, (int) count, buf);
 	while (count > 0) {
 		if ((out_count = write(rsock, p, count)) == -1) {
 			ast_debug(1, "rfcomm_write() error [%d]\n", errno);




More information about the asterisk-addons-commits mailing list