From d08d72adff5eb5e2c810494043c7104cd9b3aa6c Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 2 Mar 2001 02:12:03 +0000 Subject: merge from gcc --- include/safe-ctype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/safe-ctype.h') 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 @@ /* replacement macros. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. Contributed by Zack Weinberg . 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) -- cgit v1.2.3