Skip to content

Commit 925a96b

Browse files
committed
fix: windows build
1 parent 9570adc commit 925a96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pet-fs/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ pub fn is_junction<P: AsRef<Path>>(path: P) -> bool {
106106
};
107107

108108
let handle = file.as_raw_handle();
109-
if handle as isize == INVALID_HANDLE_VALUE {
109+
if handle as isize == INVALID_HANDLE_VALUE as isize {
110110
return false;
111111
}
112112

0 commit comments

Comments
 (0)