From f8641a5cc4c8baf1f0a7be3685afc219d90143d9 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Wed, 17 Jul 2024 14:45:31 +1000 Subject: whole thing is compiling and running again --- src/platform/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platform/file.c') diff --git a/src/platform/file.c b/src/platform/file.c index 33194d7..ea69e20 100644 --- a/src/platform/file.c +++ b/src/platform/file.c @@ -51,7 +51,7 @@ str8_opt str8_from_file(arena *a, Str8 path) { rewind(f); u8 *raw = arena_alloc(a, fsize + 1); - Str8 contents = str8_create(raw, fsize); + Str8 contents = Str8_create(raw, fsize); contents.buf[contents.len] = '\0'; fread(raw, fsize, 1, f); -- cgit v1.2.3-70-g09d2