Fixes -Wformat-security on Clang.
From: Jacek Caban jacek@codeweavers.com
Fixes -Wformat-security on Clang. --- dlls/windowscodecs/tests/bmpformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windowscodecs/tests/bmpformat.c b/dlls/windowscodecs/tests/bmpformat.c index 1a6a8185156..724723f647a 100644 --- a/dlls/windowscodecs/tests/bmpformat.c +++ b/dlls/windowscodecs/tests/bmpformat.c @@ -1451,7 +1451,7 @@ static void test_encoder_formats(void)
for (i = 0; i < ARRAY_SIZE(tests); ++i) { - winetest_push_context(tests[i].name); + winetest_push_context("%s", tests[i].name); pixelformat = *tests[i].format; hr = IWICBitmapFrameEncode_SetPixelFormat(frame_encode, &pixelformat); ok(hr == S_OK, "got %#lx.\n", hr);
This merge request was approved by Esme Povirk.