$OpenBSD: patch-imap_seen_db_c,v 1.3 2018/05/18 11:16:43 ajacoutot Exp $

64 bit time_t

Index: imap/seen_db.c
--- imap/seen_db.c.orig
+++ imap/seen_db.c
@@ -295,7 +295,7 @@ EXPORTED int seen_write(struct seen *seendb, const cha
                seendb->user, uniqueid);
     }
 
-    snprintf(data, sz, "%d %lu %u %lu %s", SEEN_VERSION,
+    snprintf(data, sz, "%d %lld %u %lld %s", SEEN_VERSION,
             sd->lastread, sd->lastuid,
             sd->lastchange, sd->seenuids);
     datalen = strlen(data);
