Skip to content

Commit 878caf6

Browse files
committed
---
yaml --- r: 2470 b: refs/heads/master c: 88621bc h: refs/heads/master v: v3
1 parent 918664d commit 878caf6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: fe29d24b6e795b3149e710659d12a8c9972bed96
2+
refs/heads/master: 88621bc53ce630b3fc0335b4724f63b3bf099cff

trunk/src/lib/macos_OS.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn dylib_filename(str base) -> str {
6363

6464
fn pipe() -> tup(int, int) {
6565
let vec[mutable int] fds = vec(mutable 0, 0);
66-
assert (OS.libc.pipe(Vec.buf[mutable int](fds)) == 0);
66+
assert (OS.libc.pipe(Vec.buf(fds)) == 0);
6767
ret tup(fds.(0), fds.(1));
6868
}
6969

@@ -73,7 +73,7 @@ fn fd_FILE(int fd) -> libc.FILE {
7373

7474
fn waitpid(int pid) -> int {
7575
let vec[mutable int] status = vec(mutable 0);
76-
assert (OS.libc.waitpid(pid, Vec.buf[mutable int](status), 0) != -1);
76+
assert (OS.libc.waitpid(pid, Vec.buf(status), 0) != -1);
7777
ret status.(0);
7878
}
7979

trunk/src/lib/win32_OS.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn dylib_filename(str base) -> str {
5353

5454
fn pipe() -> tup(int, int) {
5555
let vec[mutable int] fds = vec(mutable 0, 0);
56-
assert (OS.libc._pipe(Vec.buf[mutable int](fds), 1024u,
56+
assert (OS.libc._pipe(Vec.buf(fds), 1024u,
5757
libc_constants.O_BINARY()) == 0);
5858
ret tup(fds.(0), fds.(1));
5959
}

0 commit comments

Comments
 (0)