diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-01 00:14:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-01 00:14:33 +0000 |
commit | 274a4f59f15dbfcc70204dbd6d94be2176091cc9 (patch) | |
tree | 6af04a510e4d15c3a389b94371a696ebcc3b2a6a /libc | |
parent | ce98b9ce692e73e6ff0a1c059b34a08841f758ee (diff) |
cast buf to get rid of warning
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/powerpc/pread_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/powerpc/pread_write.c b/libc/sysdeps/linux/powerpc/pread_write.c index 0adccf572..d32ca58d1 100644 --- a/libc/sysdeps/linux/powerpc/pread_write.c +++ b/libc/sysdeps/linux/powerpc/pread_write.c @@ -167,7 +167,7 @@ weak_alias(__libc_pread64,pread64) #ifndef __NR_pwrite ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset) { - return(__fake_pread_write(fd, buf, count, offset, 1)); + return(__fake_pread_write(fd, (void*)buf, count, offset, 1)); } weak_alias(__libc_pwrite,pwrite) |