diff options
Diffstat (limited to 'funcs/func_odbc.c')
-rw-r--r-- | funcs/func_odbc.c | 4 |
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) { |