commit | 730a4b2a0aa7ba11bda61629a5398e6a6eca3531 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Feb 07 12:23:05 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Feb 07 12:23:05 2014 -0800 |
tree | 7b9806b09d5fea970368fd8db783f251d6f29091 | |
parent | a94ee49440718e45147b6b6c26b44dd81d11e1c9 [diff] |
Accept takes a socklen_t, not an int. Change-Id: I0e89aae4a560c3ed9821cbb4432f56e25f3d1c94
diff --git a/udrv/ulinux/uipc.c b/udrv/ulinux/uipc.c index ff99f0e..28706de 100644 --- a/udrv/ulinux/uipc.c +++ b/udrv/ulinux/uipc.c
@@ -213,7 +213,7 @@ struct sockaddr_un remote; struct pollfd pfd; int fd; - int len = sizeof(struct sockaddr_un); + socklen_t len = sizeof(struct sockaddr_un); BTIF_TRACE_EVENT1("accept fd %d", sfd);