diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-29 08:16:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-29 22:21:04 +0100 |
commit | 331faca18ebdd843c06fa2435ee1bf71457e76dc (patch) | |
tree | 58cd9eb7793300349bc9a4548904d6dc1f0c961e /sal/osl/unx/file.cxx | |
parent | ab2d0ff4d7c0a3c76401b0f07b85dc2267d1eb7c (diff) |
Extract loplugin:redundantcast from loplugin:cstylecast
Change-Id: I08f17dd9cc092206083ff41bbbc178e0322e86d0
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 659526bcd6ea..564784f1f7f5 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -1198,7 +1198,7 @@ unmapFile (void* pAddr, sal_uInt64 uLength) return osl_File_E_OVERFLOW; size_t const nLength = sal::static_int_cast< size_t >(uLength); - if (-1 == munmap(static_cast<char*>(pAddr), nLength)) + if (-1 == munmap(pAddr, nLength)) return oslTranslateFileError(OSL_FET_ERROR, errno); return osl_File_E_None; |