]> git.notmuchmail.org Git - notmuch/commit
util: make g_mime_utils_header_decode_date_unix match prototype
authorDavid Bremner <david@tethera.net>
Mon, 17 Jul 2017 11:47:18 +0000 (08:47 -0300)
committerDavid Bremner <david@tethera.net>
Mon, 17 Jul 2017 11:47:18 +0000 (08:47 -0300)
commitd2c3a0a3a849fdc8ce2f908b2c0d6e7197f07ae1
tree88ebe03eb247e6a3d6e02b6567bc11054ed06422
parent952a0f0cda7d1a12432d1c9ad71b41401cb1615c
util: make g_mime_utils_header_decode_date_unix match prototype

The problem shows up on 32 bit architectures where sizeof(time_t) !=
sizeof(gint64).  Upcasting the 32 bit time_t to a 64 bit integer
should hopefully be safe.
util/gmime-extra.c