]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/snglinst.cpp
implement date events here if wxDatePickerCtrl is not used (as we need them too)
[wxWidgets.git] / src / unix / snglinst.cpp
index 66d616c32ad7dec460244710587d5dd795b7c616..cbefbd864de119d18259e7e3c39acffabbb2ba2f 100644 (file)
@@ -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."));