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) );