diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-19 14:57:45 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-19 14:57:45 +0000 |
commit | 518f25f65cafe82ee523e5acf6ed997a82afa374 (patch) | |
tree | 23c1e713398429f01c5e1ee01ec3a25ff4e19e2b /res/res_config_odbc.c | |
parent | a755ec928af74b2739a34ab600bb3c1a9980ad5d (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 'res/res_config_odbc.c')
-rw-r--r-- | res/res_config_odbc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c index 4bfc1db44..3ef3edd33 100644 --- a/res/res_config_odbc.c +++ b/res/res_config_odbc.c @@ -72,7 +72,7 @@ static struct ast_variable *realtime_odbc(const char *database, const char *tabl SQLSMALLINT datatype; SQLSMALLINT decimaldigits; SQLSMALLINT nullable; - SQLINTEGER indicator; + SQLLEN indicator; va_list aq; va_copy(aq, ap); @@ -222,7 +222,7 @@ static struct ast_config *realtime_multi_odbc(const char *database, const char * SQLSMALLINT datatype; SQLSMALLINT decimaldigits; SQLSMALLINT nullable; - SQLINTEGER indicator; + SQLLEN indicator; va_list aq; va_copy(aq, ap); @@ -449,7 +449,7 @@ struct config_odbc_obj { 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) |