summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/sysdep.h
diff options
context:
space:
mode:
authorWANG Xuerui <git@xen0n.name>2020-02-13 00:57:02 +0800
committerJoseph Myers <joseph@codesourcery.com>2020-02-12 22:13:24 +0000
commitd3fbb18aa3164ca1d11e8acba81e1fc2ca70f43e (patch)
tree7584ba4993f69b7c8e9c789e9c314d9783f2ee1d /sysdeps/unix/sysv/linux/mips/sysdep.h
parentc9532194205aa2d044acdff7af98816b793c1491 (diff)
downloadglibc-d3fbb18aa3164ca1d11e8acba81e1fc2ca70f43e.tar.gz
mips: Use 'long int' and 'long long int' in linux syscall code
Style fixes only, no functional change.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/mips/sysdep.h4
1 files changed, 2 insertions, 2 deletions
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; \