diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/convert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/convert.c b/mbbsd/convert.c index 8f6d5120..8a0d61b2 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(buf, len); + gb2big((char *)buf, &len); return len; } static int gb_write(int fd, void *buf, size_t count) { - big2gb(buf, count); + big2gb((char *)buf, &count); return write(fd, buf, count); } |