jpeg pushed a commit to branch master.

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

commit c41480e46c7d1059a0cc8b6333e59c548ebffd6e
Author: Pawel Aksiutowicz <[email protected]>
Date:   Mon Dec 4 19:32:46 2017 +0900

    ecore: munmap() call get size of the same type as nmap() call in "len" 
argument
    
    Reviewers: stanluk, lukasz.stanislawski, jpeg
    
    Reviewed By: jpeg
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D5553
---
 src/lib/ecore/ecore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 93a865f325..97dc4b2aa3 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -934,7 +934,7 @@ _ecore_fps_debug_shutdown(void)
         unlink(buf);
         if (_ecore_fps_runtime_mmap)
           {
-             munmap(_ecore_fps_runtime_mmap, sizeof(int));
+             munmap(_ecore_fps_runtime_mmap, sizeof(unsigned int));
              _ecore_fps_runtime_mmap = NULL;
           }
         close(_ecore_fps_debug_fd);

-- 


Reply via email to