diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-24 10:37:15 +0100 |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-24 10:43:08 +0100 |
commit | 8010d279fa9ee4c47bd4c1fb2cc50ad9ca08f945 (patch) | |
tree | 8a078b1d2f8cc141e196e3ee98aa080b3349bc95 /src/qt3support | |
parent | 32ea1aedcf1f588da1ac112bb615088d954b84e1 (diff) | |
download | qt4-tools-8010d279fa9ee4c47bd4c1fb2cc50ad9ca08f945.tar.gz |
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/qt3support')
-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 955b65f642..32a68e025a 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 |