From 8059d1525a1b5bfa7192a68d2fe12242e47f0145 Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 29 Jul 2004 16:25:40 +0000 Subject: use int instead of long git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/yearsold.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'util') diff --git a/util/yearsold.c b/util/yearsold.c index 83b43fa9..a3a78d27 100644 --- a/util/yearsold.c +++ b/util/yearsold.c @@ -28,8 +28,7 @@ int main(int argc, char **argv) int i, j, k; char buf[256]; FILE *fp; - int year, max, item, maxyear; - long totalyear; + int year, max, item, maxyear, totalyear; int act[25]; time_t now; struct tm *ptime; -- cgit v1.2.3