[Commits] [SCM] claws branch, master, updated. 3.17.3-49-gbb47cee

ticho at claws-mail.org ticho at claws-mail.org
Sun Jan 20 20:02:49 CET 2019


The branch, master has been updated
       via  bb47ceed807fb9880a1af0d9cef646f8c4ba49e9 (commit)
      from  92cabb6caf36df21e0aae6622641e1a35ee60d0d (commit)

Summary of changes:
 src/plugins/pgpcore/sgpgme.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit bb47ceed807fb9880a1af0d9cef646f8c4ba49e9
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Jan 20 20:00:49 2019 +0100

    Fix a compiler warning

diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c
index b037ef7..79c0c92 100644
--- 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);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list