diff options
Diffstat (limited to 'sal/osl/unx/file.cxx')
-rw-r--r-- | sal/osl/unx/file.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index c7d6522ff3d0..68d384414af3 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -310,7 +310,7 @@ oslFileError FileHandle_Impl::setSize(sal_uInt64 uSize) /* Save current position */ off_t const nCurPos = lseek(m_fd, (off_t)0, SEEK_CUR); - if (nCurPos == (off_t)(-1)) + if (nCurPos == (off_t)-1) return result; /* Try 'expand' via 'lseek()' and 'write()' */ |