dlls/shlwapi/tests/url.c const fix

Gerald Pfeifer gerald at pfeifer.com
Sun Oct 28 08:05:03 CDT 2007


We started to get the following warning a while a go:

url.c:759: warning: passing arg 1 of `UrlUnescapeA' discards qualifiers from pointer target type

This fixes it.

Gerald

ChangeLog:
Remove overly aggressive const declaration for TEST_URL_UNESCAPE.

Index: dlls/shlwapi/tests/url.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/tests/url.c,v
retrieving revision 1.3
diff -u -3 -p -r1.3 url.c
--- dlls/shlwapi/tests/url.c	16 Oct 2007 13:02:52 -0000	1.3
+++ dlls/shlwapi/tests/url.c	28 Oct 2007 13:03:17 -0000
@@ -242,7 +242,7 @@ static const struct {
 
 /* ################ */
 
-static const struct {
+static struct {
     char url[30];
     const char *expect;
 } TEST_URL_UNESCAPE[] = {



More information about the wine-patches mailing list