summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-30 07:17:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-30 19:29:21 +0100
commitb15f79a8f8de27c9d186ae1fbd0c86f194aed0ac (patch)
tree3c4dc647e8ccf78c41f66e4993f3a0490c15a137 /sal
parent32efde5cef2b8516a9decd0bf7091d7def1da971 (diff)
loplugin:unnecessaryparen: signed numeric literals
Change-Id: I75c8224452ca9c3711a2ccaca9ecf549fa59cb64 Reviewed-on: https://gerrit.libreoffice.org/45549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-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 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()' */