Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / news / nn / patches / patch-au
blobb9ae06f679e88bbc0669b1983acb2b76cab77a03
1 $NetBSD$
3 --- news.c.orig 2005-04-20 01:56:27.000000000 +0200
4 +++ news.c      2006-10-14 20:30:52.000000000 +0200
5 @@ -255,7 +255,7 @@
6  
7  #ifndef DONT_COUNT_LINES
8      int             c;
9 -    off_t           digest_artlen = 0;
10 +    long           digest_artlen = 0;
11  #endif                         /* DONT_COUNT_LINES */
13  #ifdef NNTP
14 @@ -301,9 +301,9 @@
15         if (fstat(fileno(f), &statb) < 0 ||
17  #ifdef NOV
18 -           (art->lpos = statb.st_size, statb.st_size <= (off_t) 0)) {
19 +           (art->lpos = (long)statb.st_size, statb.st_size <= (off_t) 0)) {
20  #else
21 -           statb.st_size < art->lpos || statb.st_size <= (off_t) 0) {
22 +           (long)statb.st_size < art->lpos || statb.st_size <= (off_t) 0) {
23  #endif                         /* NOV */
25             fclose(f);