use wxFileSize_t instead of wxFileOffset or off_t

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-10-15 00:34:21 +00:00
parent bd3cea7d2c
commit 67c20e133e
7 changed files with 16 additions and 18 deletions

View File

@@ -277,7 +277,7 @@ bool wxSingleInstanceCheckerImpl::Create(const wxString& name)
}
char buf[256];
off_t count = file.Read(buf, WXSIZEOF(buf));
wxFileSize_t count = file.Read(buf, WXSIZEOF(buf));
if ( count == wxInvalidOffset )
{
wxLogError(_("Failed to read PID from lock file."));