summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/string.c b/kernel/string.c
index 5b5957c..30fe40d 100644
--- a/kernel/string.c
+++ b/kernel/string.c
@@ -1,8 +1,8 @@
#include <kernel/string.h>
int memcmp(const void *str1, const void *str2, size_t n) {
- unsigned char *p1 = str1;
- unsigned char *p2 = str2;
+ unsigned char const *p1 = str1;
+ unsigned char const *p2 = str2;
int ret = 0;
if (str1 == str2)