From 64e116361bdd20765d0fc2bd2590fc0ea3af391c Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Mon, 23 Apr 2012 08:31:55 +0200 Subject: [PATCH] Bug 747322 - Fix jemalloc mmap wrapper for s390x. r=jlebar,a=npotb --- memory/jemalloc/jemalloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/memory/jemalloc/jemalloc.c b/memory/jemalloc/jemalloc.c index f351bcd2fef..d175864578e 100644 --- a/memory/jemalloc/jemalloc.c +++ b/memory/jemalloc/jemalloc.c @@ -405,9 +405,9 @@ void *_mmap(void *addr, size_t length, int prot, int flags, struct { void *addr; size_t length; - int prot; - int flags; - int fd; + long prot; + long flags; + long fd; off_t offset; } args = { addr, length, prot, flags, fd, offset }; return (void *) syscall(SYS_mmap, &args);