aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-13 21:25:10 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-13 21:25:10 +0000
commit1e1095862dbfb7b0806ef2a31b1a914548b52ceb (patch)
treebd4a3ebe7ebaab440e8bfb5016e2cd306e403300 /cdr
parente160148695c99ec2d4ea29f53c8d067a6c2f89fe (diff)
x86-64 compile fixes and cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3202 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr')
-rwxr-xr-xcdr/cdr_csv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c
index 17a0f4dab..8c553db68 100755
--- a/cdr/cdr_csv.c
+++ b/cdr/cdr_csv.c
@@ -210,7 +210,7 @@ static int csv_log(struct ast_cdr *cdr)
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,