From 924479e8e8c53ab678eabe5cb43e10478cd5b763 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 12 Sep 2004 23:38:07 +0000 Subject: [PATCH] asmreg-1.c (__syscall_getdents64): Adjust signedness declaration/use mismatch for dirp parameter. * gcc.dg/asmreg-1.c (__syscall_getdents64): Adjust signedness declaration/use mismatch for dirp parameter. From-SVN: r87412 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/asmreg-1.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2de2493b78f..8abd183b614 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-13 Hans-Peter Nilsson + + * gcc.dg/asmreg-1.c (__syscall_getdents64): Adjust signedness + declaration/use mismatch for dirp parameter. + 2004-09-12 Andrew Pinski * lib/objc.exp (objc_target_compile): Look for libobjc-gnu.a also when diff --git a/gcc/testsuite/gcc.dg/asmreg-1.c b/gcc/testsuite/gcc.dg/asmreg-1.c index a779766d4a6..85827e9a9a3 100644 --- a/gcc/testsuite/gcc.dg/asmreg-1.c +++ b/gcc/testsuite/gcc.dg/asmreg-1.c @@ -22,7 +22,7 @@ struct kernel_dirent64 }; static inline int __attribute__ ((__always_inline__)) -__syscall_getdents64 (int fd, unsigned char * dirp, unsigned count) +__syscall_getdents64 (int fd, char * dirp, unsigned count) { register unsigned long __sys_res asm ("r10"); register unsigned long __r10 __asm__ ("r10") = (unsigned long) fd; -- 2.30.2