summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getdents.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-05 05:50:11 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-05 05:50:11 +0000
commit306b3cfddaeafd14197c4e59ea42803f45f049be (patch)
tree0528793bb2bc621a60a588fd294e4e5013f1ca30 /libc/sysdeps/linux/common/getdents.c
parent3135159411168fcface79912df7a836eb01b7e13 (diff)
downloaduClibc-alpine-306b3cfddaeafd14197c4e59ea42803f45f049be.tar.bz2
uClibc-alpine-306b3cfddaeafd14197c4e59ea42803f45f049be.tar.xz
Clean up warnings and cruft.
Diffstat (limited to 'libc/sysdeps/linux/common/getdents.c')
-rw-r--r--libc/sysdeps/linux/common/getdents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c
index 4db513a62..f7f3a2f12 100644
--- a/libc/sysdeps/linux/common/getdents.c
+++ b/libc/sysdeps/linux/common/getdents.c
@@ -61,7 +61,7 @@ ssize_t attribute_hidden __getdents (int fd, char *buf, size_t nbytes)
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;