diff options
author | Marvin Borner | 2020-05-07 00:16:52 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-07 00:16:52 +0200 |
commit | 31767b532e69c5a63df0106fa08e137e3106a449 (patch) | |
tree | ea7a91347e030c0b120361b7d9975547a5af19d1 /src/kernel/lib/memory.c | |
parent | 8083536f321ad8a12ad4668c2bf41a65c3e3b2f6 (diff) |
Some fixes here and there...
Also implemented serial console in userspace
Diffstat (limited to 'src/kernel/lib/memory.c')
-rw-r--r-- | src/kernel/lib/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/lib/memory.c b/src/kernel/lib/memory.c index d990e6b..192e08d 100644 --- a/src/kernel/lib/memory.c +++ b/src/kernel/lib/memory.c @@ -24,8 +24,8 @@ void *memset(void *dest, char val, u32 count) int memcmp(const void *a_ptr, const void *b_ptr, u32 size) { - const unsigned char *a = (const unsigned char *)a_ptr; - const unsigned char *b = (const unsigned char *)b_ptr; + const u8 *a = (const u8 *)a_ptr; + const u8 *b = (const u8 *)b_ptr; for (u32 i = 0; i < size; i++) { if (a[i] < b[i]) return -1; |