Skip to content

Commit c8573c4

Browse files
bors[bot]matklad
andauthored
Merge #5580
5580: fix cast r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 4024334 + 4bab553 commit c8573c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_prof/src/memory_usage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl MemoryUsage {
2626
cfg_if! {
2727
if #[cfg(target_os = "linux")] {
2828
// Note: This is incredibly slow.
29-
let alloc = unsafe { libc::mallinfo() }.uordblks as u32 as isize;
29+
let alloc = unsafe { libc::mallinfo() }.uordblks as isize;
3030
MemoryUsage { allocated: Bytes(alloc) }
3131
} else {
3232
MemoryUsage { allocated: Bytes(0) }

0 commit comments

Comments
 (0)