summaryrefslogtreecommitdiff
path: root/audio/vat/files/patch-ap
blob: 178e4654017063099d838b5d7ac527ad1db320e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- net-ip.cc.orig	Thu May 16 05:28:06 1996
+++ net-ip.cc	Sun Dec  3 19:04:50 2006
@@ -203,7 +203,7 @@
 {
 	memset((char *)p, 0, sizeof(*p));
 	p->sin_family = AF_INET;
-	int len = sizeof(*p);
+	socklen_t len = sizeof(*p);
 	if (getsockname(ssock_, (struct sockaddr *)p, &len) < 0) {
 		perror("getsockname");
 		p->sin_addr.s_addr = 0;