Fixed PowerPC compilation... though still doesn't work with the Jamfile, owing to the need for a different C++ library (mslcpp_4_0).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5173 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Nathan Whitehorn 2003-10-26 21:36:36 +00:00
parent 99892f1004
commit 8f1f3e5386
2 changed files with 1 additions and 5 deletions

View File

@ -135,7 +135,7 @@ ssize_t LprTransport::Read(void *, size_t)
ssize_t LprTransport::Write(const void *buffer, size_t size)
{
// DBGMSG(("write: %d\n", size));
if (!__fs.write(buffer, size)) {
if (!__fs.write((char *)buffer, size)) {
__error = true;
return 0;
}

View File

@ -162,11 +162,7 @@ void LpsClient::transferData(istream &is, int size) throw(LPSException)
if (size < 0) {
is.seekg(0, ios::end);
#if __MWERKS__
size = is.tellg().offset();
#else
size = is.tellg();
#endif
is.seekg(0, ios::beg);
}