summaryrefslogtreecommitdiff
path: root/include/safe-ctype.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-03-02 02:12:03 +0000
committerDJ Delorie <dj@delorie.com>2001-03-02 02:12:03 +0000
commitd8e9e6b14e4e584ea0324f0ed9d5283018072d50 (patch)
tree1622249b3e83861d4ba56fcd64be259fb4c00fe3 /include/safe-ctype.h
parente52bdff6379988bf30f7ab98847af976f666d493 (diff)
downloadbinutils-redhat-d8e9e6b14e4e584ea0324f0ed9d5283018072d50.tar.gz
merge from gcc
Diffstat (limited to 'include/safe-ctype.h')
-rw-r--r--include/safe-ctype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/safe-ctype.h b/include/safe-ctype.h
index d5fc649051..ccacda5b31 100644
--- a/include/safe-ctype.h
+++ b/include/safe-ctype.h
@@ -1,6 +1,6 @@
/* <ctype.h> replacement macros.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Contributed by Zack Weinberg <zackw@stanford.edu>.
This file is part of the libiberty library.
@@ -69,7 +69,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 short)(bit))
#define ISALPHA(c) _sch_test(c, _sch_isalpha)
#define ISALNUM(c) _sch_test(c, _sch_isalnum)