summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-15 13:30:06 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-15 14:38:09 (GMT)
commitd71f6a8c0c9c089d3fe18846835ee183aab47ae9 (patch)
tree2842e8adecb17b57ebb7854466b4536bd2f38e10 /src/network
parent21052c1ad0a670ab746298569c3a90720741a0ce (diff)
downloadQt-d71f6a8c0c9c089d3fe18846835ee183aab47ae9.zip
Qt-d71f6a8c0c9c089d3fe18846835ee183aab47ae9.tar.gz
Qt-d71f6a8c0c9c089d3fe18846835ee183aab47ae9.tar.bz2
Fix warnings in mingw
Diffstat (limited to 'src/network')
-rw-r--r--src/network/socket/qlocalsocket_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qlocalsocket_win.cpp b/src/network/socket/qlocalsocket_win.cpp
index 794b2b7..3a36ac0 100644
--- a/src/network/socket/qlocalsocket_win.cpp
+++ b/src/network/socket/qlocalsocket_win.cpp
@@ -514,7 +514,7 @@ bool QLocalSocket::waitForReadyRead(int msecs)
return false;
}
- qWarning("QLocalSocket::waitForReadyRead WaitForSingleObject failed with error code %d.", GetLastError());
+ qWarning("QLocalSocket::waitForReadyRead WaitForSingleObject failed with error code %d.", int(GetLastError()));
return false;
}