svn commit: trunk/uClibc/libc/sysdeps/linux/common
psm at uclibc.org
psm at uclibc.org
Wed Feb 15 18:59:48 UTC 2006
Author: psm
Date: 2006-02-15 10:59:46 -0800 (Wed, 15 Feb 2006)
New Revision: 14060
Log:
Kill 2 signedness warnings
Modified:
trunk/uClibc/libc/sysdeps/linux/common/getdents.c
trunk/uClibc/libc/sysdeps/linux/common/getdents64.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/getdents.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/getdents.c 2006-02-15 18:12:03 UTC (rev 14059)
+++ trunk/uClibc/libc/sysdeps/linux/common/getdents.c 2006-02-15 18:59:46 UTC (rev 14060)
@@ -63,7 +63,7 @@
dp = (struct dirent *) buf;
skdp = kdp = alloca (red_nbytes);
- retval = __syscall_getdents(fd, (char *)kdp, red_nbytes);
+ retval = __syscall_getdents(fd, (unsigned char *)kdp, red_nbytes);
if (retval == -1)
return -1;
Modified: trunk/uClibc/libc/sysdeps/linux/common/getdents64.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/getdents64.c 2006-02-15 18:12:03 UTC (rev 14059)
+++ trunk/uClibc/libc/sysdeps/linux/common/getdents64.c 2006-02-15 18:59:46 UTC (rev 14060)
@@ -57,7 +57,7 @@
dp = (struct dirent64 *) buf;
skdp = kdp = alloca (red_nbytes);
- retval = __syscall_getdents64(fd, (char *)kdp, red_nbytes);
+ retval = __syscall_getdents64(fd, (unsigned char *)kdp, red_nbytes);
if (retval == -1)
return -1;
More information about the uClibc-cvs
mailing list