summaryrefslogtreecommitdiffstats
path: root/mbbsd/osdep.c
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 /mbbsd/osdep.c
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 'mbbsd/osdep.c')
-rw-r--r--mbbsd/osdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/osdep.c b/mbbsd/osdep.c
index 73af3f85..4647d198 100644
--- a/mbbsd/osdep.c
+++ b/mbbsd/osdep.c
@@ -177,7 +177,7 @@ cpuload(char *str)
}
double
-swapused(long *total, long *used)
+swapused(int *total, long *used)
{
double percent = -1;
kvm_t *kd;
@@ -220,7 +220,7 @@ cpuload(char *str)
}
double
-swapused(long *total, long *used)
+swapused(int *total, long *used)
{
double percent = -1;
char buf[101];