summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-12-19 14:57:45 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-12-19 14:57:45 +0000
commit518f25f65cafe82ee523e5acf6ed997a82afa374 (patch)
tree23c1e713398429f01c5e1ee01ec3a25ff4e19e2b /funcs
parenta755ec928af74b2739a34ab600bb3c1a9980ad5d (diff)
Merged revisions 48577 via svnmerge from
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
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) {