mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Cosmetic change.
This commit is contained in:
parent
7b5fb50cb1
commit
4fd9c65005
@ -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>
|
2003-09-19 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* wget.h (BOUNDED_TO_ALLOCA): Evaluate PLACE only once.
|
* wget.h (BOUNDED_TO_ALLOCA): Evaluate PLACE only once.
|
||||||
|
@ -100,7 +100,7 @@ enum {
|
|||||||
/* Character classification. */
|
/* Character classification. */
|
||||||
extern const unsigned short _sch_istable[256];
|
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 ISALPHA(c) _sch_test(c, _sch_isalpha)
|
||||||
#define ISALNUM(c) _sch_test(c, _sch_isalnum)
|
#define ISALNUM(c) _sch_test(c, _sch_isalnum)
|
||||||
|
Loading…
Reference in New Issue
Block a user