diff --git a/dlls/msvcrt/tests/printf.c b/dlls/msvcrt/tests/printf.c index 7613c91240d..53d88f4fb47 100644 --- a/dlls/msvcrt/tests/printf.c +++ b/dlls/msvcrt/tests/printf.c @@ -504,7 +504,8 @@ static void test_fwprintf( void ) const char *string="not a wide string"; todo_wine { - ok(fwprintf(fopen("nul","r+"),(wchar_t *)string) == -1,"Non-wide string should not be printed by fwprintf\n"); + ok(fwprintf(fopen("nul","r+"),(const wchar_t *)string) == -1, + "Non-wide string should not be printed by fwprintf\n"); } }