[arm] fix unused unsafe warning

This commit is contained in:
gnzlbg
2017-09-28 11:44:48 +02:00
committed by Andrew Gallant
parent ffc69c752e
commit 7e0655e92f
+1 -1
View File
@@ -31,7 +31,7 @@ pub unsafe fn _clz_u64(x: u64) -> u64 {
#[inline(always)]
#[cfg_attr(test, assert_instr(rbit))]
pub unsafe fn _rbit_u64(x: u64) -> u64 {
unsafe { rbit_u64(x as i64) as u64 }
rbit_u64(x as i64) as u64
}
/// Counts the leading most significant bits set.