Browse Source

Use Megabyte constant

In commit 698fcb7813dd391de76a5663ee64c48ce4f7d067, the size procedures
were replaced with constants instead.
Kevin Sjöberg 3 years ago
parent
commit
c94ca4c0cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/odinfmt/main.odin

+ 1 - 1
tools/odinfmt/main.odin

@@ -70,7 +70,7 @@ walk_files :: proc(info: os.File_Info, in_err: os.Errno) -> (err: os.Errno, skip
 }
 
 main :: proc() {
-	init_global_temporary_allocator(mem.megabytes(100));
+	init_global_temporary_allocator(mem.Megabyte * 100)
 
 	args: Args;