diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-22 02:41:55 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-22 02:41:55 +0000 |
commit | fea238807788e7d16e157bda5c9e37ad72b86e2b (patch) | |
tree | fac359452cf6cf0a003c5644860e4d44d4069940 /cdr/cdr_adaptive_odbc.c | |
parent | 2e1272adc5fe6348363276571b78b49cea4a18b5 (diff) |
Fix for 64-bit platform
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65313 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr/cdr_adaptive_odbc.c')
-rw-r--r-- | cdr/cdr_adaptive_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_adaptive_odbc.c b/cdr/cdr_adaptive_odbc.c index 092aa14dd..7e5a7f856 100644 --- a/cdr/cdr_adaptive_odbc.c +++ b/cdr/cdr_adaptive_odbc.c @@ -305,7 +305,7 @@ static int odbc_log(struct ast_cdr *cdr) char *sql = ast_calloc(sizeof(char), sizesql), *sql2 = ast_calloc(sizeof(char), sizesql2), *tmp; char colbuf[1024], *colptr; SQLHSTMT stmt = NULL; - SQLINTEGER rows = 0; + SQLLEN rows = 0; if (AST_RWLIST_RDLOCK(&odbc_tables)) { ast_log(LOG_ERROR, "Unable to lock table list. Insert CDR(s) failed.\n"); |