Fix MSVC error when building for 64bits

This commit is contained in:
Mathew Sutcliffe
2015-04-05 23:11:11 +01:00
parent ee195e3e20
commit 3dfcbb10e9
2 changed files with 4 additions and 4 deletions

View File

@@ -20,8 +20,8 @@ using namespace BlackMisc::Hardware;
namespace BlackInput namespace BlackInput
{ {
TCHAR *CJoystickWindows::m_helperWindowClassName = TEXT("SDLHelperWindowInputCatcher"); const TCHAR *CJoystickWindows::m_helperWindowClassName = TEXT("SDLHelperWindowInputCatcher");
TCHAR *CJoystickWindows::m_helperWindowName = TEXT("SDLHelperWindowInputMsgWindow"); const TCHAR *CJoystickWindows::m_helperWindowName = TEXT("SDLHelperWindowInputMsgWindow");
ATOM CJoystickWindows::m_helperWindowClass = 0; ATOM CJoystickWindows::m_helperWindowClass = 0;
HWND CJoystickWindows::m_helperWindow = nullptr; HWND CJoystickWindows::m_helperWindow = nullptr;

View File

@@ -119,8 +119,8 @@ namespace BlackInput
IJoystick::Mode m_mode = ModeNominal; //!< Current working mode IJoystick::Mode m_mode = ModeNominal; //!< Current working mode
static WCHAR *m_helperWindowClassName; //!< Helper window class name static const WCHAR *m_helperWindowClassName; //!< Helper window class name
static WCHAR *m_helperWindowName; //!< Helper window name static const WCHAR *m_helperWindowName; //!< Helper window name
static ATOM m_helperWindowClass; static ATOM m_helperWindowClass;
static HWND m_helperWindow; //!< Helper window handle static HWND m_helperWindow; //!< Helper window handle