[Freeswitch-svn] [commit] r6103 - freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc

Freeswitch SVN anthm at freeswitch.org
Wed Oct 31 14:51:22 EDT 2007


Author: anthm
Date: Wed Oct 31 14:51:22 2007
New Revision: 6103

Modified:
   freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc/mod_spidermonkey_odbc.c

Log:
change types for odbc

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc/mod_spidermonkey_odbc.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc/mod_spidermonkey_odbc.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey_odbc/mod_spidermonkey_odbc.c	Wed Oct 31 14:51:22 2007
@@ -356,7 +356,7 @@
 
 	if (odbc_obj->stmt) {
 		SQLSMALLINT c = 0, x = 0;
-		SQLINTEGER m = 0;
+		SQLLEN m = 0;
 		char code[66560];
 
 		snprintf(code, sizeof(code), "~var _oDbC_dB_RoW_DaTa_ = {}");
@@ -370,7 +370,7 @@
 		if (m > 0) {
 			for (x = 1; x <= c; x++) {
 				SQLSMALLINT NameLength, DataType, DecimalDigits, Nullable;
-				SQLUINTEGER ColumnSize;
+				SQLULEN ColumnSize;
 				SQLCHAR name[1024] = "";
 				SQLCHAR *data = odbc_obj->colbuf;
 				SQLCHAR *esc = NULL;



More information about the Freeswitch-svn mailing list