aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
Diffstat (limited to 'cdr')
-rw-r--r--cdr/cdr_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c
index e02be8366..1223347b3 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);