1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Cosmetic change.

This commit is contained in:
hniksic 2003-09-19 07:20:35 -07:00
parent 7b5fb50cb1
commit 4fd9c65005
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-09-19 Hrvoje Niksic <hniksic@xemacs.org>
* safe-ctype.h (_sch_test): Cast BIT to unsigned char, like latest
gcc does.
2003-09-19 Hrvoje Niksic <hniksic@xemacs.org>
* wget.h (BOUNDED_TO_ALLOCA): Evaluate PLACE only once.

View File

@ -100,7 +100,7 @@ enum {
/* Character classification. */
extern const unsigned short _sch_istable[256];
#define _sch_test(c, bit) (_sch_istable[(c) & 0xff] & (bit))
#define _sch_test(c, bit) (_sch_istable[(c) & 0xff] & (unsigned char)(bit))
#define ISALPHA(c) _sch_test(c, _sch_isalpha)
#define ISALNUM(c) _sch_test(c, _sch_isalnum)