]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
compile on 64-bit systems
authorHarald Fernengel <harry@kdevelop.org>
Sun, 22 Jan 2006 19:45:14 +0000 (19:45 +0000)
committerHarald Fernengel <harry@kdevelop.org>
Sun, 22 Jan 2006 19:45:14 +0000 (19:45 +0000)
qt/qdbusmarshall.cpp

index 8afcb9f36e3120490eabb312385336de4a4ed158..31c358962a473756b483cef4bcd9dae46bfc9ca0 100644 (file)
@@ -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: