$OpenBSD: patch-newsrc_c,v 1.8 2018/07/17 13:22:45 sthen Exp $

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