diff --git a/build/codeblocks/SFML.workspace b/build/codeblocks/SFML.workspace index ba1c7269..deb7b670 100644 --- a/build/codeblocks/SFML.workspace +++ b/build/codeblocks/SFML.workspace @@ -1,12 +1,12 @@ - + - + diff --git a/build/codeblocks/sfml-system.cbp b/build/codeblocks/sfml-system.cbp index cd28ba50..ae621ca7 100644 --- a/build/codeblocks/sfml-system.cbp +++ b/build/codeblocks/sfml-system.cbp @@ -90,6 +90,7 @@ + @@ -110,6 +111,7 @@ + diff --git a/build/vc2005/sfml-system.vcproj b/build/vc2005/sfml-system.vcproj index dcfaef04..21e93979 100644 --- a/build/vc2005/sfml-system.vcproj +++ b/build/vc2005/sfml-system.vcproj @@ -382,6 +382,14 @@ RelativePath="..\..\include\SFML\System\Clock.hpp" > + + + + diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index d651b624..b16eee31 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -674,7 +674,7 @@ Key::Code WindowImplWin32::VirtualKeyCodeToSF(WPARAM key, LPARAM flags) case VK_SHIFT : { static UINT lShift = MapVirtualKey(VK_LSHIFT, MAPVK_VK_TO_VSC); - UINT scancode = (flags & (0xFF << 16)) >> 16; + UINT scancode = static_cast((flags & (0xFF << 16)) >> 16); return scancode == lShift ? Key::LShift : Key::RShift; }