1
0
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:
atmos4 2004-10-31 15:40:47 +00:00
parent f24de04efd
commit a2f47e9648

View File

@ -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) {