From d3fbb18aa3164ca1d11e8acba81e1fc2ca70f43e Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Thu, 13 Feb 2020 00:57:02 +0800 Subject: mips: Use 'long int' and 'long long int' in linux syscall code Style fixes only, no functional change. --- sysdeps/unix/sysv/linux/mips/sysdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux/mips/sysdep.h') diff --git a/sysdeps/unix/sysv/linux/mips/sysdep.h b/sysdeps/unix/sysv/linux/mips/sysdep.h index cdfc0b1b58..a4cf1540fe 100644 --- a/sysdeps/unix/sysv/linux/mips/sysdep.h +++ b/sysdeps/unix/sysv/linux/mips/sysdep.h @@ -36,8 +36,8 @@ the INTERNAL_SYSCALL_{ERROR_P,ERRNO} macros work correctly. */ #define INTERNAL_VSYSCALL_CALL(funcptr, err, nr, args...) \ ({ \ - long _ret = funcptr (args); \ - err = ((unsigned long) (_ret) >= (unsigned long) -4095L); \ + long int _ret = funcptr (args); \ + err = ((unsigned long int) (_ret) >= (unsigned long int) -4095L); \ if (err) \ _ret = -_ret; \ _ret; \ -- cgit v1.2.1