summaryrefslogtreecommitdiff
path: root/src/idle-text.c
diff options
context:
space:
mode:
authorFlorian Steinel <Florian.Steinel@googlemail.com>2008-09-25 19:32:40 +0200
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-09-25 18:48:01 +0100
commitbc0945793cf918318538e30d46b281b1de14b4aa (patch)
treedc187dc4c4e46a6dbe588e3311e84a5bb8a95239 /src/idle-text.c
parentbb058c8892a91e012e002cd2e5526e85bc05e86b (diff)
fix compile on 64bit arch
Diffstat (limited to 'src/idle-text.c')
-rw-r--r--src/idle-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idle-text.c b/src/idle-text.c
index ba1a3d5..6cd5370 100644
--- a/src/idle-text.c
+++ b/src/idle-text.c
@@ -102,7 +102,7 @@ GStrv idle_text_encode_and_split(TpChannelTextMessageType type, const gchar *rec
advance = remaining_text_len;
}
- message = g_strdup_printf("%s%.*s%s", header, bytes_to_copy, remaining_text, footer);
+ message = g_strdup_printf("%s%.*s%s", header, (int)bytes_to_copy, remaining_text, footer);
g_ptr_array_add(messages, message);
remaining_text += advance;