projects
/
platform
/
upstream
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
[platform/upstream/glibc.git]
/
ctype
/
ctype.h
diff --git
a/ctype/ctype.h
b/ctype/ctype.h
index
c9129f0
..
025373c
100644
(file)
--- a/
ctype/ctype.h
+++ b/
ctype/ctype.h
@@
-39,7
+39,7
@@
__BEGIN_DECLS
#if __BYTE_ORDER == __BIG_ENDIAN
#define _ISbit(bit) (1 << bit)
#else /* __BYTE_ORDER == __LITTLE_ENDIAN */
-#define _ISbit(bit) (
(1 << bit) << (bit < 8 ? 8 : -
8))
+#define _ISbit(bit) (
bit < 8 ? ((1 << bit) << 8) : ((1 << bit) >>
8))
#endif
enum