aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/029_nxcomp_ppc64.full+lite.patch
blob: f9fd749eee41f99880e88615df7b4bb3e91b6541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -6832,9 +6832,9 @@
     {
       sockaddr_in newAddr;
 
-      size_t addrLen = sizeof(sockaddr_in);
+      socklen_t addrLen = sizeof(sockaddr_in);
 
-      newFD = accept(proxyFD, (sockaddr *) &newAddr, (socklen_t *) &addrLen);
+      newFD = accept(proxyFD, (sockaddr *) &newAddr, &addrLen);
 
       if (newFD == -1)
       {