aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-02 03:09:02 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-02 03:09:02 +0000
commita91d1a2abc830685b26574afa8c44f6803f429a7 (patch)
tree261e494f2ce16c066a2e1dcc1324bfa71496b1cb /cdr
parent8af80a59de696b8be87cd2c131004416a136ad6c (diff)
Restore building under 64-bit platforms.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88197 f38db490-d61c-443f-a65b-d21fe96a405b
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);