be more precise in long long int literal specification for ANSI compilers (gcc3 requi...
[platform/upstream/flac.git] / src / test_libFLAC / metadata_manip.c
index 540c3e6..d8e73d9 100644 (file)
@@ -172,7 +172,7 @@ FLAC__bool open_tempfile_(const char *filename, FILE **tempfile, char **tempfile
        strcpy(*tempfilename, filename);
        strcat(*tempfilename, tempfile_suffix);
 
-       if(0 == (*tempfile = fopen(*tempfilename, "w+b")))
+       if(0 == (*tempfile = fopen(*tempfilename, "wb")))
                return false;
 
        return true;