summaryrefslogtreecommitdiff
path: root/userland/libc/sys/stat
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-23 00:52:35 +0100
committerAnton Kling <anton@kling.gg>2023-11-23 00:52:35 +0100
commit81819f711e6d1f9216f688da8ecbbc682d106d9c (patch)
tree0f0df7c43cc5bc956c2c067e55766bfa90823a7f /userland/libc/sys/stat
parentec91e81a4fcfd7ee6bc4150f06d8740e82f808da (diff)
LibC: Reduce warnings in code
Diffstat (limited to 'userland/libc/sys/stat')
-rw-r--r--userland/libc/sys/stat/mkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/libc/sys/stat/mkdir.c b/userland/libc/sys/stat/mkdir.c
index 927afd8..ca10c30 100644
--- a/userland/libc/sys/stat/mkdir.c
+++ b/userland/libc/sys/stat/mkdir.c
@@ -2,5 +2,5 @@
#include <syscall.h>
int mkdir(const char *path, mode_t mode) {
- return syscall(SYS_MKDIR, (void *)path, (void *)mode, 0, 0, 0);
+ return syscall(SYS_MKDIR, (u32)path, (u32)mode, 0, 0, 0);
}