aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index 36d01cae..d2e10f69 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -1837,7 +1837,7 @@ serd_reader_read_file(SerdReader* reader,
return SERD_ERR_BAD_ARG;
}
- FILE* fd = serd_fopen((const char*)path, "r");
+ FILE* fd = serd_fopen((const char*)path, "rb");
if (!fd) {
free(path);
return SERD_ERR_UNKNOWN;