OSDN Git Service

* gcc.dg/asmreg-1.c (__syscall_getdents64): Adjust signedness
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Sep 2004 23:38:07 +0000 (23:38 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Sep 2004 23:38:07 +0000 (23:38 +0000)
declaration/use mismatch for dirp parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87412 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asmreg-1.c

index 2de2493..8abd183 100644 (file)
@@ -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
index a779766..85827e9 100644 (file)
@@ -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;