summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-30 00:25:40 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-30 00:25:40 +0800
commit8059d1525a1b5bfa7192a68d2fe12242e47f0145 (patch)
tree077e1384fc174710ac1b596cd3500e40bed09478 /util
parenta035b16261c3df5adbf6520ac8c848064243dbc7 (diff)
downloadpttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.gz
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.bz2
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.lz
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.xz
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.zst
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.zip
use int instead of long
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/yearsold.c3
1 files changed, 1 insertions, 2 deletions
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;