From 274a4f59f15dbfcc70204dbd6d94be2176091cc9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 1 Feb 2006 00:14:33 +0000 Subject: cast buf to get rid of warning --- libc/sysdeps/linux/powerpc/pread_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3