forked from enlightenment/efl
Fixing conversion from size_t to high-low dwords for _WIN64.
Reviewers: vtorri, woohyun, lucas, jptiz Reviewed By: vtorri, jptiz Subscribers: joaoantoniocardoso, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12207
This commit is contained in:
parent
2b08306875
commit
dc0173fdf6
|
@ -92,8 +92,8 @@ mmap(void *addr EVIL_UNUSED,
|
|||
}
|
||||
|
||||
#ifdef _WIN64
|
||||
low = (DWORD)((len >> 32) & 0x00000000ffffffff);
|
||||
low = (DWORD)(len & 0x00000000ffffffff);
|
||||
high = (DWORD)((len >> 32) & 0x00000000ffffffffULL);
|
||||
low = (DWORD)(len & 0x00000000ffffffffULL);
|
||||
#else
|
||||
high = 0L;
|
||||
low = len;
|
||||
|
|
Loading…
Reference in New Issue