summaryrefslogtreecommitdiffstats
path: root/tools/qtestlib/wince/cetest/remoteconnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qtestlib/wince/cetest/remoteconnection.cpp')
-rw-r--r--tools/qtestlib/wince/cetest/remoteconnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qtestlib/wince/cetest/remoteconnection.cpp b/tools/qtestlib/wince/cetest/remoteconnection.cpp
index 75788e2..3d0c3f3 100644
--- a/tools/qtestlib/wince/cetest/remoteconnection.cpp
+++ b/tools/qtestlib/wince/cetest/remoteconnection.cpp
@@ -66,8 +66,8 @@ QByteArray strwinerror(DWORD errorcode)
out.chop(2);
/* Append error number to error message for good measure */
- out.append(" (");
- out.append(QByteArray::number((int)errorcode));
+ out.append(" (0x");
+ out.append(QByteArray::number(uint(errorcode), 16).rightJustified(8, '0'));
out.append(")");
}
return out;