Restore building under 64-bit platforms.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-11-02 03:09:02 +00:00
parent 2902601eea
commit 16e33c3791

View 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);