diff options
author | Anton Kling <anton@kling.gg> | 2023-11-10 15:47:08 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-10 15:47:08 +0100 |
commit | 9a1f977e39d8e9fcb6a9cb2a612f4743e802221d (patch) | |
tree | 1fc53f6e80eb40d24274f2f8967d584b88c6d664 /kernel/libc/string/memcmp.c | |
parent | 0cb4afef6da5488a128e5aaece435e9aa5f5797e (diff) |
Kernel Style: Change uint*_t -> u*
Diffstat (limited to 'kernel/libc/string/memcmp.c')
-rw-r--r-- | kernel/libc/string/memcmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/libc/string/memcmp.c b/kernel/libc/string/memcmp.c index 72c680a..db13ed2 100644 --- a/kernel/libc/string/memcmp.c +++ b/kernel/libc/string/memcmp.c @@ -1,10 +1,10 @@ #include "../include/string.h" -int memcmp(const void *s1, const void *s2, uint32_t n) +int memcmp(const void *s1, const void *s2, u32 n) { int return_value = 0; - for(uint32_t i = 0;i < n;i++) + for(u32 i = 0;i < n;i++) if(((unsigned char *)(s1))[i] != ((unsigned char *)(s2))[i]) return_value++; |