aboutsummaryrefslogtreecommitdiffstats
path: root/src/badlib.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-06-16 15:33:47 +0200
committerBad Diode <bd@badd10de.dev>2024-06-16 15:33:47 +0200
commite9e051992c86f10fbc6c131415bb5776147884c6 (patch)
tree54c1764dd85eed1a52042782c69458c0c0c47a17 /src/badlib.h
parent2e7f414c65d89ebe52570b0b0fb9b7ff2585bf96 (diff)
downloadbdl-e9e051992c86f10fbc6c131415bb5776147884c6.tar.gz
bdl-e9e051992c86f10fbc6c131415bb5776147884c6.zip
Update clang-format and cland options
Diffstat (limited to 'src/badlib.h')
-rw-r--r--src/badlib.h2
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,