mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Fix for 64-bit platform
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user