From d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 6 May 2020 19:04:05 +0200 Subject: New build parameters and shared includes This changes many files but I've just applied some replace commands.. So - nothing special! --- src/kernel/lib/string/strcpy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/lib/string/strcpy.c') diff --git a/src/kernel/lib/string/strcpy.c b/src/kernel/lib/string/strcpy.c index 6117e7c..5d7f194 100644 --- a/src/kernel/lib/string/strcpy.c +++ b/src/kernel/lib/string/strcpy.c @@ -1,10 +1,10 @@ -#include +#include void strcpy(char *dest, const char *orig) { - size_t s_orig = strlen(orig); + u32 s_orig = strlen(orig); - for (size_t i = 0; i < s_orig; i++) + for (u32 i = 0; i < s_orig; i++) dest[i] = orig[i]; dest[s_orig] = 0; } \ No newline at end of file -- cgit v1.2.3