Commit 398c0b10e4

Jacob G-W <jacoblevgw@gmail.com>
2022-01-07 04:58:53
Plan9: fix amount to say included line count is
Not sure why this was working before...
1 parent ab400ad
Changed files (1)
src
src/link/Plan9.zig
@@ -203,7 +203,7 @@ fn putFn(self: *Plan9, decl: *Module.Decl, out: FnDeclOutput) !void {
         self.syms.items[fn_map_res.value_ptr.sym_index] = .{
             .type = .z,
             // just put a giant number, no source file will have this many newlines
-            .value = std.math.maxInt(u32),
+            .value = std.math.maxInt(u31),
             .name = &.{ 0, 0 },
         };
     }