diff options
author | Yang Tse <yangsita@gmail.com> | 2010-11-12 19:46:13 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-11-12 19:46:13 +0100 |
commit | dac69d52c254feb97c3ae066737fc016e80aa4c4 (patch) | |
tree | e8bf884dd13aeb8e9e8d813fff248a3e3d71cf87 /setup_once.h | |
parent | 494274e653936335c255a47599970de3df21e7c4 (diff) | |
download | c-ares-dac69d52c254feb97c3ae066737fc016e80aa4c4.tar.gz c-ares-dac69d52c254feb97c3ae066737fc016e80aa4c4.tar.bz2 c-ares-dac69d52c254feb97c3ae066737fc016e80aa4c4.zip |
Fix compiler warning: array subscript has type 'char'
Diffstat (limited to 'setup_once.h')
-rw-r--r-- | setup_once.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setup_once.h b/setup_once.h index 17ef226..0c7c811 100644 --- a/setup_once.h +++ b/setup_once.h @@ -252,6 +252,8 @@ struct timeval { #define ISBLANK(x) (int)((((unsigned char)x) == ' ') || \ (((unsigned char)x) == '\t')) +#define TOLOWER(x) (tolower((int) ((unsigned char)x))) + /* * 'bool' exists on platforms with <stdbool.h>, i.e. C99 platforms. |