aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-02-09 15:31:46 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-09 15:32:26 +0100
commitbd10fe5919594afe37d0019bf58c359e79b54979 (patch)
tree936b63fc4b8bf7e14a544447dffceec8d28f1df6 /nxcomp
parentf6619070bad8c20f8467ceb3c161d7699cc00aff (diff)
downloadnx-libs-bd10fe5919594afe37d0019bf58c359e79b54979.tar.gz
nx-libs-bd10fe5919594afe37d0019bf58c359e79b54979.tar.bz2
nx-libs-bd10fe5919594afe37d0019bf58c359e79b54979.zip
Fix BIGENDIAN issue in nxcomp (relevant on PPC64 arch) (029_nxcomp_ppc64.full+lite.patch)
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/Loop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index 6fd772912..7e2b990de 100644
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -6832,9 +6832,9 @@ int WaitForRemote(int portNum)
{
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)
{