aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/string/strcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib/string/strcat.c')
-rw-r--r--src/kernel/lib/string/strcat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/lib/string/strcat.c b/src/kernel/lib/string/strcat.c
index 4328f87..3ae8ea0 100644
--- a/src/kernel/lib/string/strcat.c
+++ b/src/kernel/lib/string/strcat.c
@@ -1,11 +1,11 @@
-#include <kernel/lib/string.h>
+#include <lib/string.h>
void strcat(char *dest, const char *orig)
{
- size_t s_dest = strlen(dest);
- size_t s_orig = strlen(orig);
+ u32 s_dest = strlen(dest);
+ u32 s_orig = strlen(orig);
- for (size_t i = 0; i < s_orig; i++)
+ for (u32 i = 0; i < s_orig; i++)
dest[s_dest + i] = orig[i];
dest[s_dest + s_orig] = 0;
} \ No newline at end of file