Commit 68d159ea9d

Michael Dusan <michael.dusan@gmail.com>
2019-09-10 20:35:51
fix build on macOS + xcode + clang
1 parent ba4d83a
Changed files (1)
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: