diff options
author | Marvin Borner | 2020-01-20 23:12:54 +0100 |
---|---|---|
committer | Marvin Borner | 2020-01-20 23:12:54 +0100 |
commit | 391ed256d21a6ae2e2456d1809f357e6e96e15d1 (patch) | |
tree | 0fe9ffb3c59bbfeb3d8a04ab7fc6efba60d81e79 /src/kernel/lib/stdlib/htoa.c | |
parent | d5d1749257ff8b9aa6b5ace4b4720b484a2860f3 (diff) |
Added pure awesomeness
Actually quite some days of work but ok
Diffstat (limited to 'src/kernel/lib/stdlib/htoa.c')
-rw-r--r-- | src/kernel/lib/stdlib/htoa.c | 4 |
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) { |