diff options
Diffstat (limited to 'libs/libc/mem.c')
-rw-r--r-- | libs/libc/mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libc/mem.c b/libs/libc/mem.c index 95242e4..2e457ef 100644 --- a/libs/libc/mem.c +++ b/libs/libc/mem.c @@ -64,7 +64,7 @@ void *memcpy(void *dest, const void *src, u32 n) #endif } -void *memset(void *dest, int val, u32 n) +void *memset(void *dest, u32 val, u32 n) { u32 uval = val; u32 num_dwords = n / 4; @@ -90,7 +90,7 @@ void *memset(void *dest, int val, u32 n) return dest; } -void *memchr(void *src, int c, u32 n) +void *memchr(void *src, char c, u32 n) { u8 *s = (u8 *)src; |