summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/xlocale/_ctype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xlocale/_ctype.h b/include/xlocale/_ctype.h
index 481fe33..7ffa7a1 100644
--- a/include/xlocale/_ctype.h
+++ b/include/xlocale/_ctype.h
@@ -78,8 +78,8 @@ __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc)
{
int __limit;
_RuneLocale *runes = __runes_for_locale(__loc, &__limit);
- return (__c < 0 || __c >= _CACHED_RUNES) ? ___runetype_l(__c, __loc) :
- runes->__runetype[__c] & __f;
+ return ((__c < 0 || __c >= _CACHED_RUNES) ? ___runetype_l(__c, __loc) :
+ runes->__runetype[__c]) & __f;
}
_XLOCALE_INLINE int
OpenPOWER on IntegriCloud