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 143207efbd5f..d3c3f95b5cd9 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -315,7 +315,7 @@ oslFileError FileHandle_Impl::setSize (sal_uInt64 uSize) if (-1 == lseek (m_fd, (off_t)(nSize - 1), SEEK_SET)) return result; - if (-1 == write (m_fd, (char*)"", (size_t)1)) + if (-1 == write (m_fd, "", (size_t)1)) { /* Failure. Restore saved position */ (void) lseek (m_fd, (off_t)(nCurPos), SEEK_SET); |