Commit 375278cc authored by Alexandre Julliard's avatar Alexandre Julliard

msvcp: Use a constant string as fprintf format.

parent a75cc9e6
...@@ -1467,7 +1467,7 @@ static void test_istream_tellg(void) ...@@ -1467,7 +1467,7 @@ static void test_istream_tellg(void)
/* filebuf */ /* filebuf */
file = fopen(testfile, "wt"); file = fopen(testfile, "wt");
fprintf(file, tests[i].str); fprintf(file, "%s", tests[i].str);
fclose(file); fclose(file);
/* fstream<char> version */ /* fstream<char> version */
......
...@@ -1969,7 +1969,7 @@ static void test_istream_tellg(void) ...@@ -1969,7 +1969,7 @@ static void test_istream_tellg(void)
/* filebuf */ /* filebuf */
file = fopen(testfile, "wt"); file = fopen(testfile, "wt");
fprintf(file, tests[i].str); fprintf(file, "%s", tests[i].str);
fclose(file); fclose(file);
/* fstream<char> version */ /* fstream<char> version */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment