From 81819f711e6d1f9216f688da8ecbbc682d106d9c Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 23 Nov 2023 00:52:35 +0100 Subject: LibC: Reduce warnings in code --- userland/libc/sys/stat/mkdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userland/libc/sys/stat/mkdir.c') 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 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); } -- cgit v1.2.3