diff options
author | João Antônio Cardoso <joao.antonio@expertisesolutions.com.br> | 2020-12-09 17:11:42 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertise.dev> | 2020-12-09 17:12:10 -0300 |
commit | dc0173fdf6d586f9167643213850c8b08b8ff3fa (patch) | |
tree | 468ab202efc869c878b66f1f4aa29ed6d5dc1fa6 /src/lib/evil | |
parent | 2b083068754ffd004c763e74f60a237c994c64a9 (diff) | |
download | efl-dc0173fdf6d586f9167643213850c8b08b8ff3fa.tar.gz |
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
Diffstat (limited to 'src/lib/evil')
-rw-r--r-- | src/lib/evil/evil_mman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evil/evil_mman.c b/src/lib/evil/evil_mman.c index f132a173fe..e0f3763118 100644 --- a/src/lib/evil/evil_mman.c +++ b/src/lib/evil/evil_mman.c @@ -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; |