summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Fernengel <harry@kdevelop.org>2006-01-22 19:45:14 +0000
committerHarald Fernengel <harry@kdevelop.org>2006-01-22 19:45:14 +0000
commit25799b81970f36cead5cc0ddd57f298eb668adfd (patch)
tree258031fb6678425b438cd08137ef98bb596b3131
parente447b1f2becd6feea04ad3e60c1494bb5a1bbdd2 (diff)
compile on 64-bit systems
-rw-r--r--qt/qdbusmarshall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/qdbusmarshall.cpp b/qt/qdbusmarshall.cpp
index 8afcb9f3..31c35896 100644
--- a/qt/qdbusmarshall.cpp
+++ b/qt/qdbusmarshall.cpp
@@ -69,9 +69,9 @@ static QVariant qFetchParameter(DBusMessageIter *it)
case DBUS_TYPE_BOOLEAN:
return qIterGet<dbus_bool_t>(it);
case DBUS_TYPE_INT64:
- return qIterGet<dbus_int64_t>(it);
+ return static_cast<qlonglong>(qIterGet<dbus_int64_t>(it));
case DBUS_TYPE_UINT64:
- return qIterGet<dbus_uint64_t>(it);
+ return static_cast<qulonglong>(qIterGet<dbus_uint64_t>(it));
case DBUS_TYPE_STRING:
case DBUS_TYPE_OBJECT_PATH:
case DBUS_TYPE_SIGNATURE: