Andrew Talbot : msvcrt/tests: Cast-qual warnings fix.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Dec 12 08:42:08 CST 2006


Module: wine
Branch: master
Commit: 9317377fb853a199643b10e4efc34869dec47eff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9317377fb853a199643b10e4efc34869dec47eff

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon Dec 11 21:41:58 2006 +0000

msvcrt/tests: Cast-qual warnings fix.

---

 dlls/msvcrt/tests/printf.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcrt/tests/printf.c b/dlls/msvcrt/tests/printf.c
index 7613c91..53d88f4 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");
       }
 }
 




More information about the wine-cvs mailing list