msvcp: Use a constant string as fprintf format.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-11-27 11:37:21 +01:00
parent a75cc9e626
commit 375278ccb7
2 changed files with 2 additions and 2 deletions

View File

@ -1467,7 +1467,7 @@ static void test_istream_tellg(void)
/* filebuf */
file = fopen(testfile, "wt");
fprintf(file, tests[i].str);
fprintf(file, "%s", tests[i].str);
fclose(file);
/* fstream<char> version */

View File

@ -1969,7 +1969,7 @@ static void test_istream_tellg(void)
/* filebuf */
file = fopen(testfile, "wt");
fprintf(file, tests[i].str);
fprintf(file, "%s", tests[i].str);
fclose(file);
/* fstream<char> version */