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:
João Antônio Cardoso 2020-12-09 17:11:42 -03:00 committed by Felipe Magno de Almeida
parent 2b08306875
commit dc0173fdf6
1 changed files with 2 additions and 2 deletions

View File

@ -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;