X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c4fc03fa3a60715008262120f9fd505608fbfb5..dd12ce22d806e6a9c40cf7bdfddbb237cd55b0ca:/src/unix/snglinst.cpp diff --git a/src/unix/snglinst.cpp b/src/unix/snglinst.cpp index 66d616c32a..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]; - off_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."));