From 834d572d1c3adc23d7a950d77e0432f4d55e7bdf Mon Sep 17 00:00:00 2001 From: scw Date: Thu, 8 Jan 2004 13:47:28 +0000 Subject: Make the prototype the same as in library. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/convert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/convert.c b/mbbsd/convert.c index 8a0d61b2..1dd90308 100644 --- a/mbbsd/convert.c +++ b/mbbsd/convert.c @@ -10,13 +10,13 @@ static int gb_read(int fd, void *buf, size_t count) { int len = read(fd, buf, count); if (len > 0) - gb2big((char *)buf, &len); + gb2big((char *)buf, &len, 0); return len; } static int gb_write(int fd, void *buf, size_t count) { - big2gb((char *)buf, &count); + big2gb((char *)buf, &count, 0); return write(fd, buf, count); } -- cgit v1.2.3