Skip to content

Commit b78eee8

Browse files
committed
Fix native-type-mismatch test on win32
1 parent cc7ae32 commit b78eee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/native-type-mismatch.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ use std;
33

44
fn main() {
55
let std::os::libc::FILE f = std::io::rustrt::rust_get_stdin();
6-
std::os::libc::opendir(f);
6+
std::os::libc::fopen(f, f);
77
}

0 commit comments

Comments
 (0)