From cbb8b44177b472473254180ddb18e60359dd2baa Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Mon, 31 Mar 2014 17:41:33 +0200 Subject: [PATCH] fixed another HWND cast --- src/libtomahawk/utils/TomahawkUtilsGui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/utils/TomahawkUtilsGui.cpp b/src/libtomahawk/utils/TomahawkUtilsGui.cpp index 747c2515c..cc6183ce6 100644 --- a/src/libtomahawk/utils/TomahawkUtilsGui.cpp +++ b/src/libtomahawk/utils/TomahawkUtilsGui.cpp @@ -300,8 +300,8 @@ bringToFront() int idActive = GetWindowThreadProcessId(hwndActiveWin, NULL); if ( AttachThreadInput(GetCurrentThreadId(), idActive, TRUE) ) { - SetForegroundWindow( wid ); - SetFocus( wid ); + SetForegroundWindow( (HWND)wid ); + SetFocus( (HWND)wid ); AttachThreadInput(GetCurrentThreadId(), idActive, FALSE); } }