felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dc0173fdf6d586f9167643213850c8b08b8ff3fa

commit dc0173fdf6d586f9167643213850c8b08b8ff3fa
Author: João Antônio Cardoso <joao.anto...@expertisesolutions.com.br>
Date:   Wed Dec 9 17:11:42 2020 -0300

    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
---
 src/lib/evil/evil_mman.c | 4 ++--
 1 file 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;

-- 


Reply via email to