[telepathy-qt4/master] ClientRegistrar: Cast object to intptr_t to get the unique id.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Wed May 6 10:12:07 PDT 2009


---
 TelepathyQt4/client-registrar.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/client-registrar.cpp b/TelepathyQt4/client-registrar.cpp
index 5ee9c9d..11feb61 100644
--- a/TelepathyQt4/client-registrar.cpp
+++ b/TelepathyQt4/client-registrar.cpp
@@ -400,7 +400,7 @@ bool ClientRegistrar::registerClient(const ClientObjectPtr &client,
                 .arg(mPriv->bus.baseService()
                     .replace(':', '_')
                     .replace('.', "._"))
-                .arg((ulong) object));
+                .arg((intptr_t) object));
     }
 
     if (mPriv->services.contains(busName) ||
-- 
1.5.6.5




More information about the telepathy-commits mailing list