Skip to content

Commit 62f9f4c

Browse files
authored
fix Windows build failure
1 parent df59d7f commit 62f9f4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shims/fs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
927927
#[cfg(unix)]
928928
let ino = std::os::unix::fs::DirEntryExt::ino(&dir_entry);
929929
#[cfg(not(unix))]
930-
let ino = 0;
930+
let ino = 0u64;
931931

932932
let file_type = this.file_type_to_d_type(dir_entry.file_type())? as u128;
933933

@@ -1015,7 +1015,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
10151015
#[cfg(unix)]
10161016
let ino = std::os::unix::fs::DirEntryExt::ino(&dir_entry);
10171017
#[cfg(not(unix))]
1018-
let ino = 0;
1018+
let ino = 0u64;
10191019

10201020
let file_type = this.file_type_to_d_type(dir_entry.file_type())? as u128;
10211021

0 commit comments

Comments
 (0)