diff options
Diffstat (limited to 'src/userspace/libc/string/strcpy.c')
-rw-r--r-- | src/userspace/libc/string/strcpy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userspace/libc/string/strcpy.c b/src/userspace/libc/string/strcpy.c index 733f7ba..a12d3e0 100644 --- a/src/userspace/libc/string/strcpy.c +++ b/src/userspace/libc/string/strcpy.c @@ -3,9 +3,9 @@ void strcpy(char *dest, char *orig) { - u8 s_orig = strlen(orig); + u32 s_orig = strlen(orig); - for (u8 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 |