From 1856dfea6b797d852b496c2111dbb326dbe2957e Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Fri, 1 Jan 2021 19:33:53 +0100 Subject: [PATCH] stage1: Use correct format specifier for size_t parameters Use `Iu` on Windows, the integer width depends on the target being a 32bit or a 64bit one. --- src/stage1/os.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stage1/os.hpp b/src/stage1/os.hpp index 4f38403a9e..1dd30804ba 100644 --- a/src/stage1/os.hpp +++ b/src/stage1/os.hpp @@ -46,7 +46,7 @@ #endif #if defined(ZIG_OS_WINDOWS) -#define ZIG_PRI_usize "I64u" +#define ZIG_PRI_usize "Iu" #define ZIG_PRI_i64 "I64d" #define ZIG_PRI_u64 "I64u" #define ZIG_PRI_llu "I64u"