From ec662896e43ff531fc21cf1bba886c2d84dab71c Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Sat, 18 May 2024 23:20:07 +0800 Subject: [PATCH] Fixed IO::printd() syscall implementation. --- src/rishka_syscalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rishka_syscalls.cpp b/src/rishka_syscalls.cpp index 61c05c7..e1e4426 100644 --- a/src/rishka_syscalls.cpp +++ b/src/rishka_syscalls.cpp @@ -84,7 +84,7 @@ void RishkaSyscall::IO::printn(RishkaVM* vm) { } void RishkaSyscall::IO::printd(RishkaVM* vm) { - auto arg = rishka_double_to_long( + auto arg = rishka_long_to_double( vm->getParam(0) );