From: Russell Bryant Date: Mon, 30 Jul 2007 15:22:20 +0000 (+0000) Subject: Resolve some compiler warnings so that I can build under dev mode X-Git-Tag: 1.6.0-beta1~3^2~1872 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d959a040ee87ffe2dca9e4556340d4df272b5c5;p=thirdparty%2Fasterisk.git Resolve some compiler warnings so that I can build under dev mode git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77770 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/cdr/cdr_adaptive_odbc.c b/cdr/cdr_adaptive_odbc.c index 12e9820695..f97f5ed4f2 100644 --- a/cdr/cdr_adaptive_odbc.c +++ b/cdr/cdr_adaptive_odbc.c @@ -204,7 +204,7 @@ static int load_config(void) if (entry->octetlen == 0) entry->octetlen = entry->size; - ast_verb(10, "Found %s column with type %hd with len %ld, octetlen %ld, and numlen (%hd,%hd)\n", entry->name, entry->type, entry->size, entry->octetlen, entry->decimals, entry->radix); + ast_verb(10, "Found %s column with type %hd with len %ld, octetlen %ld, and numlen (%hd,%hd)\n", entry->name, entry->type, (long) entry->size, (long) entry->octetlen, entry->decimals, entry->radix); /* Insert column info into column list */ AST_LIST_INSERT_TAIL(&(tableptr->columns), entry, list); res = 0;