aboutsummaryrefslogtreecommitdiff
path: root/std/std.zig
diff options
context:
space:
mode:
Diffstat (limited to 'std/std.zig')
-rw-r--r--std/std.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/std.zig b/std/std.zig
index fbf71f2fd8..b4244b6346 100644
--- a/std/std.zig
+++ b/std/std.zig
@@ -14,7 +14,7 @@ fn syscall3(number: isize, arg1: isize, arg2: isize, arg3: isize) -> isize {
}
// TODO constants for SYS_write and stdout_fileno
-pub fn write(fd: isize, buf: *const u8, count: usize) -> isize {
+pub fn write(fd: isize, buf: &const u8, count: usize) -> isize {
let SYS_write : isize = 1;
return syscall3(SYS_write, fd, buf as isize, count as isize);
}