diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-24 09:37:15 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-24 09:43:08 (GMT) |
commit | 8010d279fa9ee4c47bd4c1fb2cc50ad9ca08f945 (patch) | |
tree | 8a078b1d2f8cc141e196e3ee98aa080b3349bc95 /src | |
parent | 32ea1aedcf1f588da1ac112bb615088d954b84e1 (diff) | |
download | Qt-8010d279fa9ee4c47bd4c1fb2cc50ad9ca08f945.zip Qt-8010d279fa9ee4c47bd4c1fb2cc50ad9ca08f945.tar.gz Qt-8010d279fa9ee4c47bd4c1fb2cc50ad9ca08f945.tar.bz2 |
Fix accept call in q3process
Use QT_SOCKLEN_T like we do on all other places
where accept() is called.
Task-number: QTBUG-6141
Reviewed-by: mstormo
Diffstat (limited to 'src')
-rw-r--r-- | src/qt3support/other/q3process_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt3support/other/q3process_unix.cpp b/src/qt3support/other/q3process_unix.cpp index 955b65f..32a68e0 100644 --- a/src/qt3support/other/q3process_unix.cpp +++ b/src/qt3support/other/q3process_unix.cpp @@ -249,7 +249,7 @@ int qnx6SocketPairReplacement (int socketFD[2]) { if (errno != EINPROGRESS) { BAILOUT }; // Accept connection - socketFD[0] = accept(tmpSocket, (struct sockaddr *)NULL, (size_t *)NULL); + socketFD[0] = accept(tmpSocket, (struct sockaddr *)NULL, (QT_SOCKLEN_T *)NULL); if(socketFD[0] == -1) { BAILOUT }; // We're done |