X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67c20e133ebe01b5b4bc2468661a8bcc4097c5a2..ed4eede6c2c16cdb422a39c1b3655956b8f51a1c:/src/unix/snglinst.cpp diff --git a/src/unix/snglinst.cpp b/src/unix/snglinst.cpp index d581d39f83..cbefbd864d 100644 --- a/src/unix/snglinst.cpp +++ b/src/unix/snglinst.cpp @@ -277,7 +277,7 @@ bool wxSingleInstanceCheckerImpl::Create(const wxString& name) } char buf[256]; - wxFileSize_t count = file.Read(buf, WXSIZEOF(buf)); + ssize_t count = file.Read(buf, WXSIZEOF(buf)); if ( count == wxInvalidOffset ) { wxLogError(_("Failed to read PID from lock file."));