summaryrefslogtreecommitdiff
path: root/tests/audiogen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/audiogen.c')
-rw-r--r--tests/audiogen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/audiogen.c b/tests/audiogen.c
index 4913a6ced8..b026a713a6 100644
--- a/tests/audiogen.c
+++ b/tests/audiogen.c
@@ -94,7 +94,7 @@ int main(int argc, char **argv)
exit(1);
}
- outfile = fopen(argv[1], "w");
+ outfile = fopen(argv[1], "wb");
if (!outfile) {
perror(argv[1]);
return 1;