summaryrefslogtreecommitdiff
path: root/src/boot/libc64/sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/libc64/sprintf.c')
-rw-r--r--src/boot/libc64/sprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/libc64/sprintf.c b/src/boot/libc64/sprintf.c
index 6b05ce9..b8468cc 100644
--- a/src/boot/libc64/sprintf.c
+++ b/src/boot/libc64/sprintf.c
@@ -1,5 +1,5 @@
#include "libc64/sprintf.h"
-#include "lib/ultralib/include/ido/memory.h"
+#include "memory.h"
#include "lib/ultralib/src/libc/xstdio.h"
void* proutPrintf(void* dst, const char* fmt, size_t size) {
@@ -7,7 +7,7 @@ void* proutPrintf(void* dst, const char* fmt, size_t size) {
}
int vsprintf(char* dst, char* fmt, va_list args) {
- s32 ret = _Printf((outfun*)proutPrintf, dst, fmt, args);
+ s32 ret = _Printf(proutPrintf, dst, fmt, args);
if (ret >= 0) {
dst[ret] = '\0';
@@ -19,7 +19,7 @@ int sprintf(char* s, const char* fmt, ...) {
va_list args;
va_start(args, fmt);
- ret = _Printf((outfun*)proutPrintf, s, fmt, args);
+ ret = _Printf(proutPrintf, s, fmt, args);
if (ret >= 0) {
s[ret] = '\0';
}