aboutsummaryrefslogtreecommitdiffstats
path: root/src/badlib.h
diff options
context:
space:
mode:
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,