summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-02-23 09:27:02 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-02-23 09:28:07 (GMT)
commit7d6f139c0bad17c84aa05b84450abb567a5b5458 (patch)
treec5147c06833126f79e546b317278296bd3e55951 /tools/qdoc3
parent58533cbc7322c4f821f24043028e47925b537419 (diff)
downloadQt-7d6f139c0bad17c84aa05b84450abb567a5b5458.zip
Qt-7d6f139c0bad17c84aa05b84450abb567a5b5458.tar.gz
Qt-7d6f139c0bad17c84aa05b84450abb567a5b5458.tar.bz2
improve 64 bit support on windows
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/codemarker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/codemarker.cpp b/tools/qdoc3/codemarker.cpp
index ee93080..15f2c2d 100644
--- a/tools/qdoc3/codemarker.cpp
+++ b/tools/qdoc3/codemarker.cpp
@@ -177,7 +177,7 @@ const Node *CodeMarker::nodeForString(const QString& string)
QString CodeMarker::stringForNode(const Node *node)
{
if (sizeof(const Node *) == sizeof(ulong)) {
- return QString::number(reinterpret_cast<ulong>(node));
+ return QString::number(reinterpret_cast<quintptr>(node));
}
else {
return QString::number(reinterpret_cast<qulonglong>(node));