commit 68d159ea9de5b9f59ad2e658017c45a33698a008 (tree)
parent ba4d83af3e58ce2a34ccb945a297211333fd904c
Author: Michael Dusan <michael.dusan@gmail.com>
Date: Tue, 10 Sep 2019 14:35:51 -0400
fix build on macOS + xcode + clang
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: