Skip to content

Commit

Permalink
Merge pull request #6 from PaperFanz/testing
Browse files Browse the repository at this point in the history
fix extra 0x0D byte from #5
  • Loading branch information
PaperFanz committed Oct 15, 2019
2 parents b2ddec3 + db33b9a commit 7ad4f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ uint8_t openasmfiles (filearr_t *f, char *file)
}
replaceextension (file, ".obj");

f->obj = fopen (file, "w");
f->obj = fopen (file, "wb");
if (f->obj == NULL) {
notify ("Unable to open %s!\n", file);
failed++;
Expand Down

0 comments on commit 7ad4f58

Please sign in to comment.