diff options
author | Ryan S. Arnold <rsa@us.ibm.com> | 2011-02-17 01:21:08 -0500 |
---|---|---|
committer | Petr Baudis <pasky@suse.cz> | 2011-05-26 23:58:27 +0200 |
commit | c55cc45ed76603b380489ee8c91ab5dce92e92f1 (patch) | |
tree | ba0ede30bddb8f98019f522fa4b0e98c2a107bae /sysdeps/unix | |
parent | 758c66a2344d9c88f320e180d785f214f77f9943 (diff) | |
download | glibc-c55cc45ed76603b380489ee8c91ab5dce92e92f1.tar.gz glibc-c55cc45ed76603b380489ee8c91ab5dce92e92f1.tar.xz glibc-c55cc45ed76603b380489ee8c91ab5dce92e92f1.zip |
Fix INTERNAL_[V]SYSCALL_NCS macros to not cast return val to int.
(cherry picked from commit d55fd7a5573ea7c7c14af95bc37618469cde8a5f)
Diffstat (limited to 'sysdeps/unix')
-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) |