diff options
Diffstat (limited to 'src/userspace/libc/stdlib/htoi.c')
-rw-r--r-- | src/userspace/libc/stdlib/htoi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userspace/libc/stdlib/htoi.c b/src/userspace/libc/stdlib/htoi.c index cf79b7a..8897d20 100644 --- a/src/userspace/libc/stdlib/htoi.c +++ b/src/userspace/libc/stdlib/htoi.c @@ -5,9 +5,9 @@ int htoi(char *str) { - u8 s_str = strlen(str); + u32 s_str = strlen(str); - u8 i = 0; + u32 i = 0; int ret = 0; for (; i < s_str; i++) { char c = str[i]; |