summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-12 23:38:07 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-12 23:38:07 +0000
commit29dcf6e523dfe91a272557e419a034df52b1343b (patch)
treef5c77caa36afc9f5beaafc7180e935d8e95139fe
parent53c2e93ceef8cb2a3319bed6a1543c93ebeae96c (diff)
downloadgcc-29dcf6e523dfe91a272557e419a034df52b1343b.tar.gz
* gcc.dg/asmreg-1.c (__syscall_getdents64): Adjust signedness
declaration/use mismatch for dirp parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87412 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/asmreg-1.c2
2 files changed, 6 insertions, 1 deletions
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 <hp@axis.com>
+
+ * gcc.dg/asmreg-1.c (__syscall_getdents64): Adjust signedness
+ declaration/use mismatch for dirp parameter.
+
2004-09-12 Andrew Pinski <apinski@apple.com>
* 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;