mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: Remove unnecessary literal casts
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
05cdef17f4
commit
fabd63072b
@@ -699,7 +699,7 @@ impl MemoryManager {
|
||||
},
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
{
|
||||
1 << 16 as GuestUsize
|
||||
1 << 16
|
||||
},
|
||||
GuestAddress(0),
|
||||
mmio_address_space_size,
|
||||
@@ -1370,7 +1370,7 @@ impl MemoryManager {
|
||||
prot,
|
||||
flags,
|
||||
file.as_raw_fd(),
|
||||
0 as libc::off_t,
|
||||
0,
|
||||
)
|
||||
} as u64;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user