summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-ao
blob: 4cc3134668e778db309332d8e6776dd40875aa30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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