mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:05:42 +00:00
[WIN32K] Fix 64 bit issues (#420)
- Fix ULONG/SIZE_T issues - Use LOWORD/HIWORD - Change a struct member to HANDLE - Implement lstrlenW helper function
This commit is contained in:
parent
5b2ff8a3f9
commit
2d9c88e0c5
35 changed files with 108 additions and 94 deletions
|
@ -1814,7 +1814,7 @@ DIB_CreateDIBSection(
|
|||
if (mapBits) bm.bmBits = (char *)mapBits + (offset - mapOffset);
|
||||
}
|
||||
else if (ovr_pitch && offset)
|
||||
bm.bmBits = (LPVOID) offset;
|
||||
bm.bmBits = UlongToPtr(offset);
|
||||
else
|
||||
{
|
||||
offset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue