mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-20 03:26:55 +00:00
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:
@@ -145,7 +145,7 @@ static int odbc_log(struct ast_cdr *cdr)
|
|||||||
|
|
||||||
stmt = ast_odbc_prepare_and_execute(obj, prepare_cb, cdr);
|
stmt = ast_odbc_prepare_and_execute(obj, prepare_cb, cdr);
|
||||||
if (stmt) {
|
if (stmt) {
|
||||||
SQLINTEGER rows = 0;
|
SQLLEN rows = 0;
|
||||||
|
|
||||||
SQLRowCount(stmt, &rows);
|
SQLRowCount(stmt, &rows);
|
||||||
SQLFreeHandle(SQL_HANDLE_STMT, stmt);
|
SQLFreeHandle(SQL_HANDLE_STMT, stmt);
|
||||||
|
Reference in New Issue
Block a user