utils: open output file in binary mode

This commit is contained in:
Thomas Kolb 2023-05-12 13:49:20 +02:00
parent d17b7b3309
commit 3b7628882c

View file

@ -7,7 +7,7 @@
bool dump_array_cf(const float complex *data, size_t n, float T, const char *filename)
{
FILE *f = fopen(filename, "w");
FILE *f = fopen(filename, "wb");
if(!f) {
return false;
}