fix a format warning, thanks to Daniel Jakots
authorPaul <paul@claws-mail.org>
Mon, 12 Oct 2015 18:25:20 +0000 (19:25 +0100)
committerPaul <paul@claws-mail.org>
Mon, 12 Oct 2015 18:25:20 +0000 (19:25 +0100)
src/common/utils.c
src/gtk/authors.h

index 2f36588..b3038ee 100644 (file)
@@ -5107,7 +5107,7 @@ size_t fast_strftime(gchar *buf, gint buflen, const gchar *format, struct tm *lt
                                *curpos++ = '0'+(lt->tm_min % 10);
                                break;
                        case 's':
-                               snprintf(subbuf, 64, "%ld", mktime(lt));
+                               snprintf(subbuf, 64, "%lld", (long long)mktime(lt));
                                len = strlen(subbuf); CHECK_SIZE();
                                strncpy2(curpos, subbuf, buflen - total_done);
                                break;
index d02f6db..17cf1ea 100644 (file)
@@ -170,8 +170,8 @@ static char *CONTRIBS_LIST[] = {
 "Yoichi Imai",
 "Mathias Intemann",
 "Ishihara",
-"Daniel Jakots",
 "Jens Jahnke",
+"Daniel Jakots",
 "Pascal Jermini",
 "KAJIWARA",
 "KUROSAWA",