[svn-commits] tilghman: trunk r65313 - /trunk/cdr/cdr_adaptive_odbc.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon May 21 19:41:55 MST 2007


Author: tilghman
Date: Mon May 21 21:41:55 2007
New Revision: 65313

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65313
Log:
Fix for 64-bit platform

Modified:
    trunk/cdr/cdr_adaptive_odbc.c

Modified: trunk/cdr/cdr_adaptive_odbc.c
URL: http://svn.digium.com/view/asterisk/trunk/cdr/cdr_adaptive_odbc.c?view=diff&rev=65313&r1=65312&r2=65313
==============================================================================
--- trunk/cdr/cdr_adaptive_odbc.c (original)
+++ trunk/cdr/cdr_adaptive_odbc.c Mon May 21 21:41:55 2007
@@ -305,7 +305,7 @@
 	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");



More information about the svn-commits mailing list