]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/snglinst.cpp
Olly Betts' typo patch
[wxWidgets.git] / src / unix / snglinst.cpp
index d581d39f83f78dad87f891e6c0ab2a29020e63a8..cbefbd864de119d18259e7e3c39acffabbb2ba2f 100644 (file)
@@ -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."));