diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c index 9624e29c..16767ffd 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -204,7 +204,7 @@ main(int argc, char** argv) in_name = in_name ? in_name : input; if (!in_fd) { input = serd_uri_to_path(in_name); - if (!input || !(in_fd = serd_fopen((const char*)input, "r"))) { + if (!input || !(in_fd = serd_fopen((const char*)input, "rb"))) { return 1; } } |