summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:15:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:15:48 +0200
commit0e8cb2028a0c9aaf760d4cbb8186ea6039667b4e (patch)
tree4fc24f925f98b2803a8215cc57612fb212731715 /sal/osl
parentc9c991a9af4cae97011d1834c986e6fa27eaff89 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Ic03728b2824eb59b9b6351a88ec355bfb93154cb
Diffstat (limited to 'sal/osl')
-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 5b3f830ff76e..73612a32d273 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -1140,7 +1140,7 @@ SAL_CALL osl_mapFile (
* Pagein, touching first byte of every memory page.
* Note: volatile disables optimizing the loop away.
*/
- sal_uInt8 * pData (reinterpret_cast<sal_uInt8*>(*ppAddr));
+ sal_uInt8 * pData (static_cast<sal_uInt8*>(*ppAddr));
size_t nSize (nLength);
volatile sal_uInt8 c = 0;