globally renamed uint to size_t. This has _not_ been checked under Windows,
although I changed msw files also, so please wait until this evening if you want to be sure that it compiles. This change should fix 64 bit compilation problems, but it would be nice to test it... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
Reference in New Issue
Block a user