From: Joshua Colp Date: Fri, 2 Nov 2007 03:09:02 +0000 (+0000) Subject: Restore building under 64-bit platforms. X-Git-Tag: 1.6.0-beta1~3^2~1035 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16e33c3791a082de642e77154edec91f4be7a9b5;p=thirdparty%2Fasterisk.git Restore building under 64-bit platforms. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88197 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c index e02be8366d..1223347b39 100644 --- a/cdr/cdr_odbc.c +++ b/cdr/cdr_odbc.c @@ -145,7 +145,7 @@ static int odbc_log(struct ast_cdr *cdr) stmt = ast_odbc_prepare_and_execute(obj, prepare_cb, cdr); if (stmt) { - SQLINTEGER rows = 0; + SQLLEN rows = 0; SQLRowCount(stmt, &rows); SQLFreeHandle(SQL_HANDLE_STMT, stmt);