X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..6f34921d9369a31de14e4b07e4824e2d701710f0:/src/common/file.cpp diff --git a/src/common/file.cpp b/src/common/file.cpp index b32441ff97..44c4b7b77f 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -252,11 +252,11 @@ off_t wxFile::Read(void *pBuf, off_t nCount) return wxInvalidOffset; } else - return (uint)iRc; + return (size_t)iRc; } // write -uint wxFile::Write(const void *pBuf, uint nCount) +size_t wxFile::Write(const void *pBuf, size_t nCount) { wxCHECK( (pBuf != NULL) && IsOpened(), 0 );