Skip to content

Commit 13d7430

Browse files
committed
rewrite to use ctypes types
1 parent b106ef8 commit 13d7430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/native2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ native mod zed { }
1616
#[abi = "cdecl"]
1717
#[nolink]
1818
native mod libc {
19-
fn write(fd: int, buf: *u8, count: uint) -> int;
19+
fn write(fd: int, buf: *u8, count: ctypes::size_t) -> ctypes::ssize_t;
2020
}
2121

2222
#[abi = "cdecl"]

0 commit comments

Comments
 (0)