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.
return (error != GMIME_SIGNATURE_ERROR_NONE);
}
return (error != GMIME_SIGNATURE_ERROR_NONE);
}
g_mime_utils_header_decode_date_unix (const char *date) {
g_mime_utils_header_decode_date_unix (const char *date) {
- return g_mime_utils_header_decode_date (date, NULL);
+ return (gint64) g_mime_utils_header_decode_date (date, NULL);
}
#else /* GMime >= 3.0 */
}
#else /* GMime >= 3.0 */