summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2009-09-11 10:11:01 -0300
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2009-09-11 10:12:12 -0300
commit193d60bf2d0842effe67a33ad8dc53d0b0b10225 (patch)
treeffc0cd758a96f3fc2ad1a5648d1ea64fb55f48b5 /examples
parent6f4a9a9bd5af1407914ab515a652bdb86ec907a5 (diff)
file-transfer sender example: Explicitly use uint for TargetHandlerType when creating FileTransfer channels.
Diffstat (limited to 'examples')
-rw-r--r--examples/file-transfer/sender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/file-transfer/sender.cpp b/examples/file-transfer/sender.cpp
index 3566a684..631e0d56 100644
--- a/examples/file-transfer/sender.cpp
+++ b/examples/file-transfer/sender.cpp
@@ -229,7 +229,7 @@ void Sender::createFileTransferChannel()
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"),
mContact->handle()[0]);
request.insert(QLatin1String(TELEPATHY_INTERFACE_CHANNEL_TYPE_FILE_TRANSFER ".Filename"),