winhttp: Remove const to fix a warning with the Microsoft headers.
This commit is contained in:
parent
90aad327ae
commit
0d7613fc98
@ -983,10 +983,10 @@ static BOOL secure_proxy_connect( request_t *request )
|
|||||||
#define INET6_ADDRSTRLEN 46
|
#define INET6_ADDRSTRLEN 46
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static WCHAR *addr_to_str( const struct sockaddr *addr )
|
static WCHAR *addr_to_str( struct sockaddr *addr )
|
||||||
{
|
{
|
||||||
char buf[INET6_ADDRSTRLEN];
|
char buf[INET6_ADDRSTRLEN];
|
||||||
const void *src;
|
void *src;
|
||||||
|
|
||||||
switch (addr->sa_family)
|
switch (addr->sa_family)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user