mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 02:16:40 +00:00
gcc-4.0.0-20041024 compile-fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13828 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f24de04efd
commit
a2f47e9648
@ -472,7 +472,7 @@ LPVOID WINAPI VirtualAlloc(LPVOID address, DWORD size, DWORD type, DWORD protec
|
||||
|
||||
if (type&MEM_RESERVE && (unsigned)address&0xffff) {
|
||||
size += (unsigned)address&0xffff;
|
||||
(unsigned)address &= ~0xffff;
|
||||
address = (unsigned)address&~0xffff;
|
||||
}
|
||||
pgsz = sysconf(_SC_PAGESIZE);
|
||||
if (type&MEM_COMMIT && (unsigned)address%pgsz) {
|
||||
|
Loading…
Reference in New Issue
Block a user