diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-19 14:57:09 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-19 14:57:09 +0000 |
commit | 7b4724372c9269a9f88161ad5c824c01227ccbd9 (patch) | |
tree | f800e4da007b4e2c6fea4406d070a20b5d35bc8a /res | |
parent | 08862d96a85e4f184afe3513014b3d91f09ea247 (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 'res')
-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) |