msvcrt/tests: Cast-qual warnings fix (3 of 3)

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Dec 11 15:41:58 CST 2006


Changelog:
    msvcrt: Cast-qual warnings fix.

diff -urN a/dlls/msvcrt/tests/printf.c b/dlls/msvcrt/tests/printf.c
--- a/dlls/msvcrt/tests/printf.c	2006-11-14 17:52:02.000000000 +0000
+++ b/dlls/msvcrt/tests/printf.c	2006-12-11 20:45:35.000000000 +0000
@@ -504,7 +504,8 @@
     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");
       }
 }
 



More information about the wine-patches mailing list