]> git.sur5r.net Git - cc65/blobdiff - src/co65/convert.c
Fixed an error: The output file shouldn't be opened in binary mode (thefox).
[cc65] / src / co65 / convert.c
index 6b60f86de9ca4e5c9c2f81913ff98e951730025c..42b2df1b4653276b43b8cf6907a027b580f4ec51 100644 (file)
@@ -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));
     }