summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorJoão Antônio Cardoso <joao.antonio@expertisesolutions.com.br>2020-12-09 17:11:42 -0300
committerFelipe Magno de Almeida <felipe@expertise.dev>2020-12-09 17:12:10 -0300
commitdc0173fdf6d586f9167643213850c8b08b8ff3fa (patch)
tree468ab202efc869c878b66f1f4aa29ed6d5dc1fa6 /src/lib/evil
parent2b083068754ffd004c763e74f60a237c994c64a9 (diff)
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.c4
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,
92 } 92 }
93 93
94#ifdef _WIN64 94#ifdef _WIN64
95 low = (DWORD)((len >> 32) & 0x00000000ffffffff); 95 high = (DWORD)((len >> 32) & 0x00000000ffffffffULL);
96 low = (DWORD)(len & 0x00000000ffffffff); 96 low = (DWORD)(len & 0x00000000ffffffffULL);
97#else 97#else
98 high = 0L; 98 high = 0L;
99 low = len; 99 low = len;