diff options
author | Bad Diode <bd@badd10de.dev> | 2024-06-16 15:33:47 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-06-16 15:33:47 +0200 |
commit | e9e051992c86f10fbc6c131415bb5776147884c6 (patch) | |
tree | 54c1764dd85eed1a52042782c69458c0c0c47a17 /src/badlib.h | |
parent | 2e7f414c65d89ebe52570b0b0fb9b7ff2585bf96 (diff) | |
download | bdl-e9e051992c86f10fbc6c131415bb5776147884c6.tar.gz bdl-e9e051992c86f10fbc6c131415bb5776147884c6.zip |
Update clang-format and cland options
Diffstat (limited to 'src/badlib.h')
-rw-r--r-- | src/badlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/badlib.h b/src/badlib.h index 4944d2e..9802278 100644 --- a/src/badlib.h +++ b/src/badlib.h | |||
@@ -970,7 +970,7 @@ platform_read_file(Str path, Arena *a) { | |||
970 | 970 | ||
971 | // Read the entire file into memory. | 971 | // Read the entire file into memory. |
972 | sz file_size = 0; | 972 | sz file_size = 0; |
973 | FILE *fp = fopen((char*)path_str.mem, "rb+"); | 973 | FILE *fp = fopen((char *)path_str.mem, "rb+"); |
974 | if (!fp) { | 974 | if (!fp) { |
975 | return (FileContents){ | 975 | return (FileContents){ |
976 | .path = path, | 976 | .path = path, |