$NetBSD: patch-af,v 1.6 2006/10/14 19:33:45 schwarz Exp $

--- articles.c.orig	2005-04-10 03:39:05.000000000 +0200
+++ articles.c	2006-10-14 20:51:00.000000000 +0200
@@ -363,7 +363,7 @@
 	data_offset += data_size;
 #endif				/* NOV */
 
-	if (db_hdr.dh_lpos == (off_t) 0)
+	if (db_hdr.dh_lpos == (long) 0)
 	    continue;		/* article not accessible */
 
 	if (db_hdr.dh_number > gh->last_db_article
@@ -432,7 +432,7 @@
 	    continue;
 	}
 	ah->hpos = db_hdr.dh_hpos;
-	ah->fpos = ah->hpos + (off_t) (db_hdr.dh_fpos);
+	ah->fpos = ah->hpos + (long) (db_hdr.dh_fpos);
 	ah->lpos = db_hdr.dh_lpos;
 
 	ah->attr = test_article(ah);
