Commit 8f5aece0 authored by Vova Mshanetskiy's avatar Vova Mshanetskiy Committed by Alexandre Julliard

winhttp: Avoid unnecessary cast in connect_query_option().

parent 8bba7591
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment