Alexandre Julliard : winhttp: Remove const to fix a warning with the Microsoft headers.
Module: wine Branch: master Commit: 0d7613fc98a8b7b8edbff8dbaae09e8b205d1c4a URL: http://source.winehq.org/git/wine.git/?a=commit;h=0d7613fc98a8b7b8edbff8dbaa... Author: Alexandre Julliard <julliard(a)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) {
participants (1)
-
Alexandre Julliard