From: uz Date: Sun, 4 Sep 2011 10:41:43 +0000 (+0000) Subject: Fixed an error: The output file shouldn't be opened in binary mode (thefox). X-Git-Tag: V2.13.3~165 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a716ae43b110b06d8dd9254c93ab3a10da77267;p=cc65 Fixed an error: The output file shouldn't be opened in binary mode (thefox). git-svn-id: svn://svn.cc65.org/cc65/trunk@5297 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/co65/convert.c b/src/co65/convert.c index 6b60f86de..42b2df1b4 100644 --- a/src/co65/convert.c +++ b/src/co65/convert.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2003-2009, Ullrich von Bassewitz */ +/* (C) 2003-2011, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -448,7 +448,7 @@ void Convert (const O65Data* D) } /* Open the output file */ - F = fopen (OutputName, "wb"); + F = fopen (OutputName, "w"); if (F == 0) { Error ("Cannot open `%s': %s", OutputName, strerror (errno)); }