mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 20:28:15 +00:00
Minimize the size of runtime.Source_Code_Location to use i32 instead of int
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user