aboutsummaryrefslogtreecommitdiff
path: root/lib/libk/string.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-06-29 21:45:11 +0300
committeraqua <aqua@iserlohn-fortress.net>2023-06-29 21:45:11 +0300
commiteb84566d236df6b0dd4f5ce8fc47d66e55e33654 (patch)
tree7e03ca126781c67336edf9f3ce6888aad23f74e4 /lib/libk/string.h
parentRework leaf makefiles to be included from top-level (diff)
downloadkernel-eb84566d236df6b0dd4f5ce8fc47d66e55e33654.tar.xz
Fix compiler warnings
Diffstat (limited to 'lib/libk/string.h')
-rw-r--r--lib/libk/string.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libk/string.h b/lib/libk/string.h
index 46d8636..45b05a5 100644
--- a/lib/libk/string.h
+++ b/lib/libk/string.h
@@ -7,9 +7,8 @@
/**
* Convert int into a string
*/
-char *itoa(char *p, int x, int base);
+char *itoa(char *p, int x, unsigned base);
/**
* Convert unsigned int into a string
*/
-char *utoa(char *p, unsigned x, int base);
-
+char *utoa(char *p, unsigned x, unsigned base);