sal/osl/unx/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b24644564af045e3607c897422fdb37545b9a089 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Mar 30 10:33:33 2017 +0200 loplugin:redundantcast (only triggers on macOS, as on Linux unistd.h declares lseek with a return type of intermediary __off_t/__off64_t typedefs) Change-Id: I967e472a050ad624a6411947b10c962ac8f66bed diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index 1d673cdb2f8c..416533a64de1 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -319,7 +319,7 @@ oslFileError FileHandle_Impl::setSize (sal_uInt64 uSize) } /* Save current position */ - off_t const nCurPos = (off_t)lseek (m_fd, (off_t)0, SEEK_CUR); + off_t const nCurPos = lseek (m_fd, (off_t)0, SEEK_CUR); if (nCurPos == (off_t)(-1)) return result; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits