Loading...
include/ctype.h Libc-1244.30.3 Libc-997.90.3
--- Libc/Libc-1244.30.3/include/ctype.h
+++ Libc/Libc-997.90.3/include/ctype.h
@@ -167,28 +167,23 @@
 }
 
 #ifdef USE_ASCII
-__DARWIN_CTYPE_inline int
+__DARWIN_CTYPE_inline int     
 __maskrune(__darwin_ct_rune_t _c, unsigned long _f)
 {
-	return (int)_DefaultRuneLocale.__runetype[_c & 0xff] & (__uint32_t)_f;
+	return _DefaultRuneLocale.__runetype[_c & 0xff] & _f;
 }
 //Begin-Libc
 #elif defined(__LIBC__)
-__DARWIN_CTYPE_inline int
+__DARWIN_CTYPE_inline int     
 __maskrune(__darwin_ct_rune_t _c, unsigned long _f)
 {
-	/* _CurrentRuneLocale.__runetype[_c] is __uint32_t
-	 * _f is unsigned long
-	 * ___runetype(_c) is unsigned long
-	 * retval is int
-	 */
-	return (int)((_c < 0 || _c >= _CACHED_RUNES) ? (__uint32_t)___runetype(_c) :
-		__current_locale()->__lc_ctype->_CurrentRuneLocale.__runetype[_c]) & (__uint32_t)_f;
+	return ((_c < 0 || _c >= _CACHED_RUNES) ? ___runetype(_c) :
+		__current_locale()->__lc_ctype->_CurrentRuneLocale.__runetype[_c]) & _f;
 }
 //End-Libc
 #else /* !USE_ASCII */
 __BEGIN_DECLS
-int             	__maskrune(__darwin_ct_rune_t, unsigned long);
+int             	__maskrune(__darwin_ct_rune_t, unsigned long);   
 __END_DECLS
 #endif /* USE_ASCII */