aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-19 14:57:09 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-19 14:57:09 +0000
commit7b4724372c9269a9f88161ad5c824c01227ccbd9 (patch)
treef800e4da007b4e2c6fea4406d070a20b5d35bc8a /funcs
parent08862d96a85e4f184afe3513014b3d91f09ea247 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@48577 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index 10145be82..529a342ff 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -104,7 +104,7 @@ static int acf_odbc_write(struct ast_channel *chan, char *cmd, char *s, const ch
AST_APP_ARG(field)[100];
);
SQLHSTMT stmt;
- SQLINTEGER rows=0;
+ SQLLEN rows=0;
AST_LIST_LOCK(&queries);
AST_LIST_TRAVERSE(&queries, query, list) {
@@ -202,7 +202,7 @@ static int acf_odbc_read(struct ast_channel *chan, char *cmd, char *s, char *buf
);
SQLHSTMT stmt;
SQLSMALLINT colcount=0;
- SQLINTEGER indicator;
+ SQLLEN indicator;
AST_LIST_LOCK(&queries);
AST_LIST_TRAVERSE(&queries, query, list) {