diff options
Diffstat (limited to 'src/pkg/runtime/os_plan9.c')
| -rw-r--r-- | src/pkg/runtime/os_plan9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/os_plan9.c b/src/pkg/runtime/os_plan9.c index ec88738c38..14d4fae486 100644 --- a/src/pkg/runtime/os_plan9.c +++ b/src/pkg/runtime/os_plan9.c @@ -394,9 +394,9 @@ runtime·read(int32 fd, void *buf, int32 nbytes) } int32 -runtime·write(int32 fd, void *buf, int32 nbytes) +runtime·write(uintptr fd, void *buf, int32 nbytes) { - return runtime·pwrite(fd, buf, nbytes, -1LL); + return runtime·pwrite((int32)fd, buf, nbytes, -1LL); } uintptr |
