aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/stdlib/htoa.c
diff options
context:
space:
mode:
authorMarvin Borner2020-01-26 18:41:23 +0100
committerGitHub2020-01-26 18:41:23 +0100
commit43f501c74aa09f18c904ace902dc4cc5d241c218 (patch)
treeea30b53ac6043faddd1cdb2fdea17f37178b1cc7 /src/kernel/lib/stdlib/htoa.c
parentd5d1749257ff8b9aa6b5ace4b4720b484a2860f3 (diff)
parentbb2a6b4d93512e8afc1b1999eb58f1f506cc27ae (diff)
Merged task-based userspace switching and updated heap/paging code
Awesome!
Diffstat (limited to 'src/kernel/lib/stdlib/htoa.c')
-rw-r--r--src/kernel/lib/stdlib/htoa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/lib/stdlib/htoa.c b/src/kernel/lib/stdlib/htoa.c
index 660e26c..ccb01f1 100644
--- a/src/kernel/lib/stdlib/htoa.c
+++ b/src/kernel/lib/stdlib/htoa.c
@@ -1,12 +1,12 @@
#include <stdint.h>
#include <kernel/lib/string.h>
-#include <kernel/lib/stdlib.h>
+#include <kernel/memory/kheap.h>
static const char HTOA_TABLE[] = "0123456789ABCDEF";
char *htoa(uint32_t n)
{
- char *ret = kmalloc(10);
+ char *ret = (char *) kmalloc(10);
int i = 0;
while (n) {