diff options
Diffstat (limited to 'src/librustc_llvm/archive_ro.rs')
| -rw-r--r-- | src/librustc_llvm/archive_ro.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_llvm/archive_ro.rs b/src/librustc_llvm/archive_ro.rs index 0728d5b46e2..cc6a85e86ce 100644 --- a/src/librustc_llvm/archive_ro.rs +++ b/src/librustc_llvm/archive_ro.rs @@ -61,7 +61,7 @@ impl ArchiveRO { if ptr.is_null() { None } else { - Some(slice::from_raw_parts(ptr as *const u8, size as uint)) + Some(slice::from_raw_parts(ptr as *const u8, size as usize)) } } } |
