From e4725e03dc21c4546881a3dbe06b59c7625e6ce6 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Wed, 1 Sep 2010 21:32:03 +0000 Subject: [PATCH] Fixed compile errors for 64 bits targets in WindowImplWin32 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1561 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Window/Win32/WindowImplWin32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index 857b939e..6d113f2a 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -83,8 +83,8 @@ myIsCursorIn (false) myHeight = rectangle.bottom - rectangle.top; // We change the event procedure of the control (it is important to save the old one) - SetWindowLongPtr(myHandle, GWLP_USERDATA, reinterpret_cast(this)); - myCallback = SetWindowLongPtr(myHandle, GWLP_WNDPROC, reinterpret_cast(&WindowImplWin32::GlobalOnEvent)); + SetWindowLongPtr(myHandle, GWLP_USERDATA, reinterpret_cast(this)); + myCallback = SetWindowLongPtr(myHandle, GWLP_WNDPROC, reinterpret_cast(&WindowImplWin32::GlobalOnEvent)); } }