Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 14, 2016, 6:08:13 PM (8 years ago)
Author:
landauf
Message:

fixed code to compile in 64bit mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/GraphicsManager.cc

    r11085 r11115  
    320320        HWND hwnd;
    321321        this->renderWindow_->getCustomAttribute("WINDOW", (void*)&hwnd);
    322         LONG iconID = (LONG)LoadIcon(GetModuleHandle(nullptr), MAKEINTRESOURCE(101));
    323         SetClassLong(hwnd, GCL_HICON, iconID);
     322        LONG_PTR iconID = (LONG_PTR)LoadIcon(GetModuleHandle(nullptr), MAKEINTRESOURCE(101));
     323        SetClassLongPtr(hwnd, GCLP_HICON, iconID);
    324324#endif
    325325
Note: See TracChangeset for help on using the changeset viewer.