diff --git a/telepathy-glib/text-mixin.c b/telepathy-glib/text-mixin.c index 2fbd832..4a474b8 100644 --- a/telepathy-glib/text-mixin.c +++ b/telepathy-glib/text-mixin.c @@ -85,7 +85,7 @@ struct _TpTextMixinPrivate typedef struct { guint id; - time_t timestamp; + guint timestamp; TpHandle sender; TpChannelTextMessageType type; char *text; @@ -298,7 +298,7 @@ tp_text_mixin_receive_with_flags (GObject *obj, /* FIXME: we don't check for overflow, so in highly pathological cases we * might end up with multiple messages with the same ID */ msg->id = mixin->priv->recv_id++; - msg->timestamp = timestamp; + msg->timestamp = (guint) timestamp; msg->type = type; msg->flags = flags;