]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/file.cpp
* Fixed two memory leaks.
[wxWidgets.git] / src / common / file.cpp
index b32441ff971e65800473bf7258e39cb043be63e2..44c4b7b77fedde9dca0ff1246a98c3803b70ded3 100644 (file)
@@ -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 );