diff options
author | Ryan S. Arnold <rsa@us.ibm.com> | 2011-02-17 01:21:08 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-02-17 01:21:08 -0500 |
commit | d55fd7a5573ea7c7c14af95bc37618469cde8a5f (patch) | |
tree | 8bd8f3369e94c1c7ee75e7d8ee8458a94379a900 /sysdeps/unix/sysv | |
parent | d4720230b54723c2b179030083318cffd6dbbc63 (diff) | |
download | glibc-d55fd7a5573ea7c7c14af95bc37618469cde8a5f.tar.gz glibc-d55fd7a5573ea7c7c14af95bc37618469cde8a5f.tar.xz glibc-d55fd7a5573ea7c7c14af95bc37618469cde8a5f.zip |
Fix INTERNAL_[V]SYSCALL_NCS macros to not cast return val to int.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h index aab4b721c0..e714c4c534 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h @@ -172,7 +172,7 @@ : "r9", "r10", "r11", "r12", \ "cr0", "ctr", "lr", "memory"); \ err = (long int) r0; \ - (int) r3; \ + r3; \ }) #undef INLINE_SYSCALL @@ -219,7 +219,7 @@ : "r9", "r10", "r11", "r12", \ "cr0", "ctr", "memory"); \ err = r0; \ - (int) r3; \ + r3; \ }) #define INTERNAL_SYSCALL(name, err, nr, args...) \ INTERNAL_SYSCALL_NCS (__NR_##name, err, nr, args) |