aboutsummaryrefslogtreecommitdiffstats
path: root/tests/serd_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/serd_test.c')
-rw-r--r--tests/serd_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 33f78fcd..b80c8b82 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -484,7 +484,7 @@ main(void)
// Test SerdReader and SerdWriter
const char* path = "serd_test.ttl";
- FILE* fd = fopen(path, "w");
+ FILE* fd = fopen(path, "wb");
if (!fd) {
FAILF("Failed to open file %s\n", path);
}