mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +00:00
winhttp: Avoid unnecessary cast in connect_query_option().
This commit is contained in:
parent
8bba759156
commit
8f5aece0ce
|
@ -383,7 +383,7 @@ static BOOL connect_query_option( struct object_header *hdr, DWORD option, void
|
|||
{
|
||||
if (!validate_buffer( buffer, buflen, sizeof(HINTERNET) )) return FALSE;
|
||||
|
||||
*(HINTERNET *)buffer = ((struct object_header *)connect->session)->handle;
|
||||
*(HINTERNET *)buffer = connect->session->hdr.handle;
|
||||
*buflen = sizeof(HINTERNET);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue