open output file in binary mode

This commit is contained in:
Bill Currie 2004-03-19 00:38:35 +00:00
parent 9099baeb6d
commit 2b26072c8f

View file

@ -904,7 +904,7 @@ main (int argc, char *argv[])
/* Write image */
outfile = Qopen (options.outf_name, "w");
outfile = Qopen (options.outf_name, "wb");
if (outfile == NULL) {
fprintf (stderr, "Error opening output file %s.\n", options.outf_name);