]> git.0d.be Git - empathy.git/commit
empathy-message: cast timestamps to glong
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 19 Apr 2011 08:49:42 +0000 (10:49 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 19 Apr 2011 08:49:42 +0000 (10:49 +0200)
commite3eb2f9d11ae3cc274c9d020dca0306fde07f783
tree23023b7a76b24ea939f6edf4353186c9f74013b9
parent52d369333daea849d6119f4aee80007d9c659652
empathy-message: cast timestamps to glong

tp_message_get_received_timestamp() and tpl_event_get_timestamp() both return
gint64 while the timestamp is stored as a glong. We need to cast it as varargs
won't do it for us and not casting will result in a a sizing mismatch on
32-bit.

Ideally we should stop using time_t and always use gint64 with timestamps.
libempathy/empathy-message.c