summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_getpeername.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_getpeername.c')
-rw-r--r--lib/libc_r/uthread/uthread_getpeername.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_getpeername.c b/lib/libc_r/uthread/uthread_getpeername.c
index e05888f..4e972a6 100644
--- a/lib/libc_r/uthread/uthread_getpeername.c
+++ b/lib/libc_r/uthread/uthread_getpeername.c
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-getpeername(int fd, struct sockaddr * peer, int *paddrlen)
+getpeername(int fd, struct sockaddr * peer, socklen_t *paddrlen)
{
int ret;
OpenPOWER on IntegriCloud