1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

mips: Use 'long int' and 'long long int' in linux syscall code

Style fixes only, no functional change.
This commit is contained in:
WANG Xuerui
2020-02-13 00:57:02 +08:00
committed by Joseph Myers
parent c953219420
commit d3fbb18aa3
14 changed files with 230 additions and 220 deletions

View File

@ -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; \