talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit bb47ceed807fb9880a1af0d9cef646f8c4ba49e9
parent 92cabb6caf36df21e0aae6622641e1a35ee60d0d
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sun, 20 Jan 2019 20:00:49 +0100

Fix a compiler warning

Diffstat:
Msrc/plugins/pgpcore/sgpgme.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c @@ -357,7 +357,7 @@ gchar *sgpgme_sigstat_info_full(gpgme_ctx_t ctx, gpgme_verify_result_t status) } memset(buf, 0, sizeof(buf)); - fast_strftime(buf, sizeof(buf)-1, prefs_common_get_prefs()->date_format, localtime_r(&sig->timestamp, &lt)); + fast_strftime(buf, sizeof(buf)-1, prefs_common_get_prefs()->date_format, localtime_r((time_t *)&sig->timestamp, &lt)); g_string_append_printf(siginfo, _("Signature made on %s using %s key ID %s\n"), buf, keytype, keyid);