diff options
Diffstat (limited to 'src/userspace/libc/string/strdup.c')
-rw-r--r-- | src/userspace/libc/string/strdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userspace/libc/string/strdup.c b/src/userspace/libc/string/strdup.c index f2a7c35..a42b02d 100644 --- a/src/userspace/libc/string/strdup.c +++ b/src/userspace/libc/string/strdup.c @@ -5,7 +5,7 @@ char *strdup(char *orig) { - u8 s_orig = strlen(orig); + u32 s_orig = strlen(orig); char *ret = (char *)malloc(s_orig + 1); strcpy(ret, orig); return ret; |