diff options
Diffstat (limited to 'src/platform')
-rw-r--r-- | src/platform/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |