https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48577 | kpfleming | 2006-12-19 08:57:09 -0600 (Tue, 19 Dec 2006) | 2 lines
use the proper variable type for these unixODBC API calls, eliminating warnings on 64-bit platforms that use the 'new' 64-bit types for ODBC API calls
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48578
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
AST_APP_ARG(field)[100];
);
SQLHSTMT stmt;
- SQLINTEGER rows=0;
+ SQLLEN rows=0;
AST_LIST_LOCK(&queries);
AST_LIST_TRAVERSE(&queries, query, list) {
);
SQLHSTMT stmt;
SQLSMALLINT colcount=0;
- SQLINTEGER indicator;
+ SQLLEN indicator;
AST_LIST_LOCK(&queries);
AST_LIST_TRAVERSE(&queries, query, list) {
SQLSMALLINT datatype;
SQLSMALLINT decimaldigits;
SQLSMALLINT nullable;
- SQLINTEGER indicator;
+ SQLLEN indicator;
va_list aq;
va_copy(aq, ap);
SQLSMALLINT datatype;
SQLSMALLINT decimaldigits;
SQLSMALLINT nullable;
- SQLINTEGER indicator;
+ SQLLEN indicator;
va_list aq;
va_copy(aq, ap);
char category[128];
char var_name[128];
char var_val[1024]; /* changed from 128 to 1024 via bug 8251 */
- SQLINTEGER err;
+ SQLLEN err;
};
static SQLHSTMT config_odbc_prepare(struct odbc_obj *obj, void *data)