aboutsummaryrefslogtreecommitdiff
path: root/libc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc')
-rw-r--r--libc/inc/sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inc/sys.h b/libc/inc/sys.h
index a9f7820..64ce7f5 100644
--- a/libc/inc/sys.h
+++ b/libc/inc/sys.h
@@ -80,7 +80,7 @@ int sysv(enum sys num, ...);
} \
}
#define yield() (int)sys0(SYS_YIELD)
-#define time() (int)sys0(SYS_TIME)
+#define time() (u32) sys0(SYS_TIME)
#define event_register(id) sys1(SYS_REGISTER, (int)(id))
#define event_unregister(id) sys1(SYS_UNREGISTER, (int)(id))