$NetBSD: patch-ao,v 1.3 2006/10/14 19:33:45 schwarz Exp $ --- expire.c.orig 2005-03-31 08:52:17.000000000 +0200 +++ expire.c 2006-10-14 20:18:42.000000000 +0200 @@ -104,7 +104,7 @@ expire_in_database(register group_header * gh) { FILE *old, *data = NULL, *ix = NULL; - off_t old_max_offset; + long old_max_offset; register article_number *list; article_number old_last_article; long count; @@ -368,7 +368,7 @@ * entry in the old index file at offset 'index_offset'. */ - data_offset = (off_t) 0; + data_offset = (long) 0; /* * read 'count' entries from the old index file starting from