From 5bab3f6ae97b62bb6e79378010c08a13e48fde5a Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sat, 26 Dec 2020 21:15:06 -0600 Subject: Upgrade to latest dutil as first step for x64 and ARM64 --- src/engine/uithread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/uithread.cpp') diff --git a/src/engine/uithread.cpp b/src/engine/uithread.cpp index cf111745..39f92142 100644 --- a/src/engine/uithread.cpp +++ b/src/engine/uithread.cpp @@ -196,7 +196,7 @@ static LRESULT CALLBACK WndProc( BOOL fRet = FALSE; // Always block shutdown in the elevated process, but ask the BA in the non-elevated. - UITHREAD_INFO* pInfo = reinterpret_cast(::GetWindowLongW(hWnd, GWLP_USERDATA)); + UITHREAD_INFO* pInfo = reinterpret_cast(::GetWindowLongPtrW(hWnd, GWLP_USERDATA)); if (!pInfo->fElevated) { // TODO: instead of recommending canceling all non-critical shutdowns, maybe we should only recommend cancel -- cgit v1.2.3-55-g6feb