Alexandre Julliard : winhttp: Remove const to fix a warning with the Microsoft headers.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 16 10:34:24 CDT 2015


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Mar 17 00:19:19 2015 +0900

winhttp: Remove const to fix a warning with the Microsoft headers.

---

 dlls/winhttp/request.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index a12d73a..4efe2d8 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -983,10 +983,10 @@ static BOOL secure_proxy_connect( request_t *request )
 #define INET6_ADDRSTRLEN 46
 #endif
 
-static WCHAR *addr_to_str( const struct sockaddr *addr )
+static WCHAR *addr_to_str( struct sockaddr *addr )
 {
     char buf[INET6_ADDRSTRLEN];
-    const void *src;
+    void *src;
 
     switch (addr->sa_family)
     {




More information about the wine-cvs mailing list