X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30984deafc05d7c6f88db736336fe73d23a08e19..7344726a7a2cad01b8db61a0fea3502e5f904ff6:/include/wx/file.h diff --git a/include/wx/file.h b/include/wx/file.h index 6a46ec7fe4..fde5099582 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -94,8 +94,8 @@ public: int fd() const { return m_fd; } // read/write (unbuffered) - // returns number of bytes read or ofsInvalid on error - size_t Read(void *pBuf, size_t nCount); + // returns number of bytes read or wxInvalidOffset on error + ssize_t Read(void *pBuf, size_t nCount); // returns the number of bytes written size_t Write(const void *pBuf, size_t nCount); // returns true on success