diff --git a/include/xlocale/_ctype.h b/include/xlocale/_ctype.h index 481fe33f31d2..7ffa7a1e0f69 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