authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2021-01-01 19:33:53+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-02 16:04:34-08:00
log1856dfea6b797d852b496c2111dbb326dbe2957e
treeb68f1b5f2e3a696a4c5b3bd43032e29c4f4445b6
parentaf8eab546ef5bafc229598440200681f0fa5a1e8

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.

1 files changed, 1 insertions(+), 1 deletions(-)

src/stage1/os.hpp+1-1
......@@ -46,7 +46,7 @@
4646#endif
4747
4848#if defined(ZIG_OS_WINDOWS)
49#define ZIG_PRI_usize "I64u"
49#define ZIG_PRI_usize "Iu"
5050#define ZIG_PRI_i64 "I64d"
5151#define ZIG_PRI_u64 "I64u"
5252#define ZIG_PRI_llu "I64u"