diff options
Diffstat (limited to 'src/kernel/lib/stdlib/htoi.c')
-rw-r--r-- | src/kernel/lib/stdlib/htoi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/lib/stdlib/htoi.c b/src/kernel/lib/stdlib/htoi.c index dcc4b63..7d05239 100644 --- a/src/kernel/lib/stdlib/htoi.c +++ b/src/kernel/lib/stdlib/htoi.c @@ -1,12 +1,12 @@ -#include <kernel/lib/math.h> +#include <lib/math.h> #include <stddef.h> -#include <kernel/lib/string.h> +#include <lib/string.h> int htoi(char *str) { - size_t s_str = strlen(str); + u32 s_str = strlen(str); - size_t i = 0; + u32 i = 0; int ret = 0; for (; i < s_str; i++) { char c = str[i]; |