diff options
Diffstat (limited to 'kernel/libc/string/memset.c')
-rw-r--r-- | kernel/libc/string/memset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/libc/string/memset.c b/kernel/libc/string/memset.c index a446eb4..5d7de62 100644 --- a/kernel/libc/string/memset.c +++ b/kernel/libc/string/memset.c @@ -1,8 +1,8 @@ #include <string.h> -void *memset(void *dst, const unsigned char c, uint32_t n) { +void *memset(void *dst, const unsigned char c, u32 n) { uintptr_t d = (uintptr_t)dst; - for (uint32_t i = 0; i < n; i++, d++) + for (u32 i = 0; i < n; i++, d++) *(unsigned char *)d = c; return (void *)d; |