about summary refs log tree commit diff
path: root/socket/sendto.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket/sendto.c')
-rw-r--r--socket/sendto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/sendto.c b/socket/sendto.c
index 9db72147f0..c7641d5d1c 100644
--- a/socket/sendto.c
+++ b/socket/sendto.c
@@ -21,7 +21,7 @@
 /* Send N bytes of BUF on socket FD to peer at address ADDR (which is
    ADDR_LEN bytes long).  Returns the number sent, or -1 for errors.  */
 ssize_t
-__sendto (int fd, const __ptr_t buf, size_t n, int flags,
+__sendto (int fd, const void *buf, size_t n, int flags,
 	  __CONST_SOCKADDR_ARG addr, socklen_t addr_len)
 {
   __set_errno (ENOSYS);