diff options
author | Mihai Moldovan <ionic@ionic.de> | 2015-02-09 15:31:46 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-09 15:32:26 +0100 |
commit | bd10fe5919594afe37d0019bf58c359e79b54979 (patch) | |
tree | 936b63fc4b8bf7e14a544447dffceec8d28f1df6 /nxcomp | |
parent | f6619070bad8c20f8467ceb3c161d7699cc00aff (diff) | |
download | nx-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.cpp | 4 |
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) { |