Author: Armin Rigo <[email protected]>
Branch: use-mmap
Changeset: r85585:8e9459757f75
Date: 2016-07-06 18:51 +0100
http://bitbucket.org/pypy/pypy/changeset/8e9459757f75/

Log:    translation fix

diff --git a/rpython/rlib/rmmap.py b/rpython/rlib/rmmap.py
--- a/rpython/rlib/rmmap.py
+++ b/rpython/rlib/rmmap.py
@@ -705,7 +705,7 @@
 
     def free_memory_chunk(addr, map_size):
         # used by the memory allocator (in llarena.py, from minimarkpage.py)
-        c_munmap_safe(addr, map_size)
+        c_munmap_safe(addr, rffi.cast(size_t, map_size))
 
     def alloc_hinted(hintp, map_size):
         flags = MAP_PRIVATE | MAP_ANONYMOUS
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to