diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-30 00:25:40 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-30 00:25:40 +0800 |
commit | 8059d1525a1b5bfa7192a68d2fe12242e47f0145 (patch) | |
tree | 077e1384fc174710ac1b596cd3500e40bed09478 /mbbsd/osdep.c | |
parent | a035b16261c3df5adbf6520ac8c848064243dbc7 (diff) | |
download | pttbbs-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.c | 4 |
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]; |