[Asterisk-cvs] asterisk/cdr cdr_csv.c,1.7,1.8

markster at lists.digium.com markster at lists.digium.com
Sun Jun 13 16:20:48 CDT 2004


Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv30795/cdr

Modified Files:
	cdr_csv.c 
Log Message:
x86-64 compile fixes and cleanups


Index: cdr_csv.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_csv.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cdr_csv.c	8 May 2004 08:07:47 -0000	1.7
+++ cdr_csv.c	13 Jun 2004 21:25:10 -0000	1.8
@@ -210,7 +210,7 @@
 	printf("[CDR] %s ('%s' -> '%s') Dur: %ds Bill: %ds Disp: %s Flags: %s Account: [%s]\n", cdr->channel, cdr->src, cdr->dst, cdr->duration, cdr->billsec, ast_cdr_disp2str(cdr->disposition), ast_cdr_flags2str(cdr->amaflags), cdr->accountcode);
 #endif
 	if (build_csv_record(buf, sizeof(buf), cdr)) {
-		ast_log(LOG_WARNING, "Unable to create CSV record in %d bytes.  CDR not recorded!\n", sizeof(buf));
+		ast_log(LOG_WARNING, "Unable to create CSV record in %d bytes.  CDR not recorded!\n", (int)sizeof(buf));
 	} else {
 		/* because of the absolutely unconditional need for the
 		   highest reliability possible in writing billing records,




More information about the svn-commits mailing list