From: Tilghman Lesher Date: Tue, 22 May 2007 02:41:55 +0000 (+0000) Subject: Fix for 64-bit platform X-Git-Tag: 1.6.0-beta1~3^2~2625 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff6586d8d62eaeec46721c3dbb0743a27881a92;p=thirdparty%2Fasterisk.git Fix for 64-bit platform git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65313 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/cdr/cdr_adaptive_odbc.c b/cdr/cdr_adaptive_odbc.c index 092aa14dd3..7e5a7f856e 100644 --- a/cdr/cdr_adaptive_odbc.c +++ b/cdr/cdr_adaptive_odbc.c @@ -305,7 +305,7 @@ static int odbc_log(struct ast_cdr *cdr) char *sql = ast_calloc(sizeof(char), sizesql), *sql2 = ast_calloc(sizeof(char), sizesql2), *tmp; char colbuf[1024], *colptr; SQLHSTMT stmt = NULL; - SQLINTEGER rows = 0; + SQLLEN rows = 0; if (AST_RWLIST_RDLOCK(&odbc_tables)) { ast_log(LOG_ERROR, "Unable to lock table list. Insert CDR(s) failed.\n");