user/tests: Cast-qual warnings fix

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Oct 4 16:45:14 CDT 2006


Changelog:
    user/tests: Cast-qual warnings fix.

diff -urN a/dlls/user/tests/dde.c b/dlls/user/tests/dde.c
--- a/dlls/user/tests/dde.c	2006-05-23 13:48:49.000000000 +0100
+++ b/dlls/user/tests/dde.c	2006-10-04 22:27:02.000000000 +0100
@@ -29,8 +29,8 @@
 
 static const WCHAR TEST_DDE_SERVICE[] = {'T','e','s','t','D','D','E','S','e','r','v','i','c','e',0};
 
-static const char exec_cmdA[] = "ANSI dde command";
-static const WCHAR exec_cmdW[] = {'u','n','i','c','o','d','e',' ','d','d','e',' ','c','o','m','m','a','n','d',0};
+static char exec_cmdA[] = "ANSI dde command";
+static WCHAR exec_cmdW[] = {'u','n','i','c','o','d','e',' ','d','d','e',' ','c','o','m','m','a','n','d',0};
 
 static WNDPROC old_dde_client_wndproc;
 
@@ -220,7 +220,7 @@
     HWND hwnd_client, hwnd_server;
     CONVINFO info;
     HDDEDATA hdata;
-    static const char test_cmd[] = "test dde command";
+    static char test_cmd[] = "test dde command";
 
     /* server: unicode, client: ansi */
     if (!create_dde_windows(&hwnd_client, &hwnd_server)) return;



More information about the wine-patches mailing list