$OpenBSD: patch-newsrc_c,v 1.4 2018/02/23 20:02:48 sthen Exp $

Index: newsrc.c
--- newsrc.c.orig
+++ newsrc.c
@@ -600,7 +600,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;
