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 --- mbbsd/topsong.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mbbsd/topsong.c') diff --git a/mbbsd/topsong.c b/mbbsd/topsong.c index 015f7de5..cb71ac5b 100644 --- a/mbbsd/topsong.c +++ b/mbbsd/topsong.c @@ -1,4 +1,4 @@ -/* $Id: topsong.c,v 1.6 2002/07/27 10:04:34 kcwu Exp $ */ +/* $Id$ */ #include "bbs.h" #define MAX_SONGS 300 @@ -7,10 +7,10 @@ typedef struct songcmp_t { char name[100]; char cname[100]; - long int count; + int count; } songcmp_t; -static long int totalcount = 0; +static int totalcount = 0; static int count_cmp(songcmp_t * b, songcmp_t * a) -- cgit v1.2.3