$NetBSD: patch-ag,v 1.2 2004/09/08 12:47:39 wiz Exp $ --- rfsv/rfsv16.cc.orig 1999-11-02 23:01:01.000000000 +0100 +++ rfsv/rfsv16.cc @@ -113,7 +113,7 @@ int rfsv16::dir(const char* dirName, buf if (version != 2) return 1; int status = a.getWord(2); long size = a.getDWord(4); - long date = a.getDWord(8); + time_t date = a.getDWord(8); const char *s = a.getString(16); a.discardFirstBytes(17+strlen(s)); @@ -238,7 +238,7 @@ int rfsv16::write(const char* localName, } unsigned char * buff = new unsigned char [RFSV_SENDLEN]; while (ip &&!ip.eof()) { - ip.read(buff, RFSV_SENDLEN); + ip.read((char *)buff, RFSV_SENDLEN); bufferStore tmp(buff, ip.gcount()); if (tmp.getLen() == 0) break; bufferStore a;