summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/osl/unx/file.cxx2
1 files changed, 1 insertions, 1 deletions
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;