summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-aw
blob: 653933b703ae6b72ce2ed2f7f9fbb7357daeb044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aw,v 1.2 2002/07/08 02:21:20 kim Exp $

--- newsrc.c.orig	Sun Jun 16 00:22:19 2002
+++ newsrc.c	Sun Jul  7 21:33:10 2002
@@ -378,7 +378,7 @@
 
     rc = open_file(newsrc_file, OPEN_READ);
     if (rc != NULL) {
-	fseek(rc, (off_t)0, 2);
+	fseek(rc, (long)0, 2);
 	if (ftell(rc))
 	    rewind(rc);
 	else {