diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-02-28 18:35:12 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-02-28 18:35:12 -0500 |
commit | 0c3483b85b4a571175690a454cb5df0b11b5b3eb (patch) | |
tree | 8a467db5ebfe4a9a4e5c222fb257e06234572f33 /telepathy-logger/text-channel.c | |
parent | f35da212884e566440d6a6f587e67cd8c4be656b (diff) | |
download | telepathy-logger-0c3483b85b4a571175690a454cb5df0b11b5b3eb.tar.gz |
Convert timestamp from uint to int64 on sent message
This was causing issue on 32bit machines as the 32bit timestamp was
passed to g_object_new(), resulting in a vararg structure 32bit shorter
then expected by GObject.
Diffstat (limited to 'telepathy-logger/text-channel.c')
-rw-r--r-- | telepathy-logger/text-channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-logger/text-channel.c b/telepathy-logger/text-channel.c index 1645510..95ab15b 100644 --- a/telepathy-logger/text-channel.c +++ b/telepathy-logger/text-channel.c @@ -1049,7 +1049,7 @@ on_send_error_cb (TpChannel *proxy, static void on_sent_signal_cb (TpChannel *proxy, - guint timestamp, + guint tp_timestamp, guint type, const gchar *text, gpointer user_data, @@ -1065,6 +1065,7 @@ on_sent_signal_cb (TpChannel *proxy, TpAccount *account; const gchar *channel_path; gchar *log_id; + gint64 timestamp = (gint64) tp_timestamp; g_return_if_fail (TPL_IS_TEXT_CHANNEL (tpl_text)); |