dbus/qt qdbusmarshall.cpp,1.1,1.2

Harald Fernengel harry at freedesktop.org
Sun Jan 22 11:45:16 PST 2006


Update of /cvs/dbus/dbus/qt
In directory gabe:/tmp/cvs-serv15696

Modified Files:
	qdbusmarshall.cpp 
Log Message:
compile on 64-bit systems


Index: qdbusmarshall.cpp
===================================================================
RCS file: /cvs/dbus/dbus/qt/qdbusmarshall.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- qdbusmarshall.cpp	23 Sep 2005 13:08:26 -0000	1.1
+++ qdbusmarshall.cpp	22 Jan 2006 19:45:14 -0000	1.2
@@ -69,9 +69,9 @@
     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:



More information about the dbus-commit mailing list