summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/compose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/compose.c b/bench/compose.c
index 6951bd5..7ff0798 100644
--- a/bench/compose.c
+++ b/bench/compose.c
@@ -46,7 +46,7 @@ main(void)
assert(ctx);
path = test_get_path("compose/en_US.UTF-8/Compose");
- file = fopen(path, "r");
+ file = fopen(path, "rb");
if (file == NULL) {
perror(path);
free(path);