From 68d159ea9de5b9f59ad2e658017c45a33698a008 Mon Sep 17 00:00:00 2001 From: Michael Dusan Date: Tue, 10 Sep 2019 14:35:51 -0400 Subject: fix build on macOS + xcode + clang --- src/stack_report.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stack_report.cpp') diff --git a/src/stack_report.cpp b/src/stack_report.cpp index 3a0abd6cef..bd5a436316 100644 --- a/src/stack_report.cpp +++ b/src/stack_report.cpp @@ -95,7 +95,7 @@ static void tree_print(FILE *f, ZigType *ty, size_t indent) { fprintf(f, "\""); start_peer(f, indent); - fprintf(f, "\"size\": \"%" ZIG_PRI_u64 "\"", ty->abi_size); + fprintf(f, "\"size\": \"%" ZIG_PRI_usize "\"", ty->abi_size); switch (ty->id) { case ZigTypeIdFnFrame: -- cgit v1.2.3