From ca13bb4a0f320b79f4fec6b15d30aa8f2eaa800c Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 20 Jan 2024 22:31:23 +0800 Subject: [PATCH] fix a win32 bug --- src/repl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repl.cpp b/src/repl.cpp index da66c21d..6266c844 100644 --- a/src/repl.cpp +++ b/src/repl.cpp @@ -3,7 +3,7 @@ namespace pkpy { REPL::REPL(VM* vm) : vm(vm){ vm->stdout_write("pocketpy " PK_VERSION " (" __DATE__ ", " __TIME__ ") "); - vm->stdout_write(fmt("[", sizeof(void*)*8, " bit] on ", kPlatformStrings[PK_SYS_PLATFORM], "\n")); + vm->stdout_write(fmt("[", (int)sizeof(void*)*8, " bit] on ", kPlatformStrings[PK_SYS_PLATFORM], "\n")); vm->stdout_write("https://github.com/blueloveTH/pocketpy" "\n"); vm->stdout_write("Type \"exit()\" to exit." "\n"); }