Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-03-02 05:12:03 +0300
committerDJ Delorie <dj@redhat.com>2001-03-02 05:12:03 +0300
commitd08d72adff5eb5e2c810494043c7104cd9b3aa6c (patch)
tree15a6b25e0ab5e05311c63e4163dc9a4ff98ba556 /include/safe-ctype.h
parent903c330dbefb42989d74cb875056086ef4e3d13f (diff)
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 d5fc64905..ccacda5b3 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)