]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/snglinst.cpp
Change friendship so that the base implementation class is the friend.
[wxWidgets.git] / src / unix / snglinst.cpp
index 66d616c32ad7dec460244710587d5dd795b7c616..d581d39f83f78dad87f891e6c0ab2a29020e63a8 100644 (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."));