aboutsummaryrefslogtreecommitdiff
path: root/sys/src/write.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-11-18 16:40:51 -0800
committerNicholas Noll <nbnoll@eml.cc>2021-11-18 16:40:51 -0800
commit5bcc08d92ae9345d6863f555a3dd9ec960e0860f (patch)
treec0fc5dba61ee770d5757ffb9702d61d277d122a1 /sys/src/write.c
parent4bf477d5ed372fd44697d2f0df245b61b4f3f7b3 (diff)
feat: filling out system layer's interface
Diffstat (limited to 'sys/src/write.c')
-rw-r--r--sys/src/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/write.c b/sys/src/write.c
index 16c9f71..7863673 100644
--- a/sys/src/write.c
+++ b/sys/src/write.c
@@ -1,7 +1,7 @@
#include "internal.h"
int
-sys·write(int fd, intptr len, void *buf, intptr *ret)
+sys·write(int fd, uintptr len, void *buf, intptr *ret)
{
long err = *ret = syscall(·Write, fd, buf, len);
return err;