Audit integer types in libunicode, libcore/(char, str) and libstd/ascii

This commit is contained in:
Vadim Petrochenkov
2015-02-15 00:09:40 +03:00
parent df54632601
commit 09f53fd45c
8 changed files with 141 additions and 140 deletions

View File

@@ -159,12 +159,12 @@ impl AsciiExt for u8 {
#[inline]
fn to_ascii_uppercase(&self) -> u8 {
ASCII_UPPERCASE_MAP[*self as uint]
ASCII_UPPERCASE_MAP[*self as usize]
}
#[inline]
fn to_ascii_lowercase(&self) -> u8 {
ASCII_LOWERCASE_MAP[*self as uint]
ASCII_LOWERCASE_MAP[*self as usize]
}
#[inline]