Browse files

The offsets should probably be 0

  • Loading branch information...
1 parent 02a169b commit fb15ffc3a315705b3a167e1af11c1e28c0d3be91 @schmichael committed Mar 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mmstats/_mmap.py
View
4 mmstats/_mmap.py
@@ -64,8 +64,8 @@ def mmap(size, fd):
m_ptr = libc.MapViewOfFile(
fd,
ctypes.wintypes.FILE_MAP_ALL_ACCESS, #TODO ACCESS
- size, #FIXME High order offset?!
- size, #FIXME Low order offset?!
+ 0, #FIXME High order offset?!
+ 0, #FIXME Low order offset?!
size
)
return m_ptr

0 comments on commit fb15ffc

Please sign in to comment.