Restore building under 64-bit platforms.
authorJoshua Colp <jcolp@digium.com>
Fri, 2 Nov 2007 03:09:02 +0000 (03:09 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 2 Nov 2007 03:09:02 +0000 (03:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88197 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_odbc.c

index e02be83..1223347 100644 (file)
@@ -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);