diff --git a/src/common/fs.c b/src/common/fs.c index 73edc99..939337f 100644 --- a/src/common/fs.c +++ b/src/common/fs.c @@ -7,7 +7,7 @@ char *read_file(const char *path) { - FILE *file = fopen(path, "r"); + FILE *file = fopen(path, "rb"); if (!file) { perror("fopen"); return NULL;