msvcp: Use a constant string as fprintf format.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a75cc9e626
commit
375278ccb7
|
@ -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)
|
||||||
|
|
||||||
/* 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 */
|
||||||
|
|
Loading…
Reference in New Issue