$OpenBSD: patch-nntp_newsrc_c,v 1.6 2021/10/15 11:09:00 sthen Exp $

Index: nntp/newsrc.c
--- nntp/newsrc.c.orig
+++ nntp/newsrc.c
@@ -625,7 +625,7 @@ static int active_get_cache(struct NntpAccountData *ad
   if (!fp)
     return -1;
 
-  if (!fgets(buf, sizeof(buf), fp) || (sscanf(buf, "%ld%4095s", &t, file) != 1) || (t == 0))
+  if (!fgets(buf, sizeof(buf), fp) || (sscanf(buf, "%lld%4095s", &t, file) != 1) || (t == 0))
   {
     mutt_file_fclose(&fp);
     return -1;
