[subset] Fix Windows issue on endlines (#756)

This commit is contained in:
Ebrahim Byagowi authored and GitHub committed 2018-02-06 13:20:38 +03:30
1 parent f41b92134a
commit 70e13ade81
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@ struct subset_consumer_t
unsigned int data_length;
const char* data = hb_blob_get_data (blob, &data_length);
FILE *fp_out = fopen(output_file, "w");
FILE *fp_out = fopen(output_file, "wb");
if (fp_out == nullptr) {
fprintf(stderr, "Unable to open output file\n");
return false;