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

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 5 05:03:29 CDT 2006


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Wed Oct  4 22:45:14 2006 +0100

user/tests: Cast-qual warnings fix.

---

 dlls/user/tests/dde.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/user/tests/dde.c b/dlls/user/tests/dde.c
index 6a1c2cf..2022e63 100644
--- a/dlls/user/tests/dde.c
+++ b/dlls/user/tests/dde.c
@@ -29,8 +29,8 @@ #include "winerror.h"
 
 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 @@ static void test_dde_transaction(void)
     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-cvs mailing list