summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/linux/remap_file_pages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/remap_file_pages.c b/src/linux/remap_file_pages.c
index f95c4cc3..a9699ce2 100644
--- a/src/linux/remap_file_pages.c
+++ b/src/linux/remap_file_pages.c
@@ -2,7 +2,7 @@
#include <sys/mman.h>
#include "syscall.h"
-int remap_file_pages(void *addr, size_t size, int prot, ssize_t pgoff, int flags)
+int remap_file_pages(void *addr, size_t size, int prot, size_t pgoff, int flags)
{
return syscall(SYS_remap_file_pages, addr, size, prot, pgoff, flags);
}