]> git.proxmox.com Git - qemu.git/commitdiff
linux-user: fix TARGET_RLIM_INFINITY declaration
authorMatthias Braun <matze@braunis.de>
Fri, 9 Sep 2011 17:31:17 +0000 (19:31 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Thu, 27 Oct 2011 11:42:16 +0000 (14:42 +0300)
Signed-off-by: Matthias Braun <matze@braunis.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall_defs.h

index 15c44d45a8d1d4fa901eac2d961a7ba2424d15a8..1bc54c7480a20985e7e3c7284d1b2f13458fa4fa 100644 (file)
@@ -690,7 +690,7 @@ struct target_rlimit {
 #elif defined(TARGET_MIPS) || defined(TARGET_SPARC)
 #define TARGET_RLIM_INFINITY   0x7fffffffUL
 #else
-#define TARGET_RLIM_INFINITY   ((target_ulong)~0UL)
+#define TARGET_RLIM_INFINITY   ((abi_ulong)-1)
 #endif
 
 #if defined(TARGET_MIPS)