Mercurial > dwindows
changeset 2024:8a11bb8ec347
Win: Minor fix, using wrong union member. Use the unsigned long long value.
It had been using the pointer member, which would be the same on x64 but not x86.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 11 Nov 2019 18:29:23 +0000 |
parents | 3f265cd5b069 |
children | 211330337f2d |
files | win/browser.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/win/browser.c Sat Nov 09 07:43:04 2019 +0000 +++ b/win/browser.c Mon Nov 11 18:29:23 2019 +0000 @@ -1190,7 +1190,7 @@ /* Get the window handle and URL */ vWindow.vt = VT_UI8; pwb->lpVtbl->GetProperty(pwb, bstrProp, &vWindow); - hwnd = (HWND)vWindow.byref; + hwnd = (HWND)vWindow.ullVal; SysFreeString(bstrProp); pwb->lpVtbl->get_LocationURL(pwb, &locationURL); /* Send the event for signal handling */