Minimize the size of runtime.Source_Code_Location to use i32 instead of int

This commit is contained in:
gingerBill
2021-03-05 12:56:36 +00:00
parent 15dbc99cb9
commit 1988856eed
6 changed files with 46 additions and 46 deletions
+2 -2
View File
@@ -1286,9 +1286,9 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
case runtime.Source_Code_Location:
io.write_string(fi.writer, a.file_path);
io.write_byte(fi.writer, '(');
io.write_int(fi.writer, a.line);
io.write_int(fi.writer, int(a.line));
io.write_byte(fi.writer, ':');
io.write_int(fi.writer, a.column);
io.write_int(fi.writer, int(a.column));
io.write_byte(fi.writer, ')');
return;