[telepathy-qt4/master] Account: Explicitly use uint for TargetHandleType when creating FileTransfer channels.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Mon Sep 28 19:03:34 PDT 2009
---
TelepathyQt4/account.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/TelepathyQt4/account.cpp b/TelepathyQt4/account.cpp
index 3cd082a..2f8ea74 100644
--- a/TelepathyQt4/account.cpp
+++ b/TelepathyQt4/account.cpp
@@ -896,7 +896,7 @@ PendingChannelRequest *Account::createFileTransfer(
request.insert(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".ChannelType"),
TELEPATHY_INTERFACE_CHANNEL_TYPE_FILE_TRANSFER);
request.insert(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".TargetHandleType"),
- Tp::HandleTypeContact);
+ (uint) Tp::HandleTypeContact);
request.insert(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".TargetID"),
contactIdentifier);
@@ -959,7 +959,7 @@ PendingChannelRequest *Account::createFileTransfer(
request.insert(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".ChannelType"),
TELEPATHY_INTERFACE_CHANNEL_TYPE_FILE_TRANSFER);
request.insert(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".TargetHandleType"),
- Tp::HandleTypeContact);
+ (uint) Tp::HandleTypeContact);
request.insert(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".TargetHandle"),
contact ? contact->handle().at(0) : 0);
--
1.5.6.5
More information about the telepathy-commits
mailing list