summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-04-20 08:53:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-04-20 08:53:16 +0200
commit4cb78942f25e9ea2e9a8445825438cd67b1c00f9 (patch)
treee00a8cecd85425a560b1f6b856b4cf5e4f5ed4a4 /basic
parenta7d559014835769d4f214cee7b7a4e4958c7efda (diff)
loplugin:expressionalwayszero (clang-cl)
Change-Id: If47b5bb3436ebdf799b74f7c0070f674ab52804e
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/dllmgr-x64.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx
index 7933f0a044c8..0bafdec1fb32 100644
--- a/basic/source/runtime/dllmgr-x64.cxx
+++ b/basic/source/runtime/dllmgr-x64.cxx
@@ -511,7 +511,7 @@ ErrCode call(
case SbxBOOL:
case SbxBYTE:
iRetVal =
- proc_i(*reinterpret_cast<double *>(&stack[0*8]),
+ proc_i(*reinterpret_cast<double *>(&stack[0]),
*reinterpret_cast<double *>(&stack[1*8]),
*reinterpret_cast<double *>(&stack[2*8]),
*reinterpret_cast<double *>(&stack[3*8]),
@@ -535,7 +535,7 @@ ErrCode call(
case SbxSINGLE:
case SbxDOUBLE:
dRetVal =
- proc_d(*reinterpret_cast<double *>(&stack[0*8]),
+ proc_d(*reinterpret_cast<double *>(&stack[0]),
*reinterpret_cast<double *>(&stack[1*8]),
*reinterpret_cast<double *>(&stack[2*8]),
*reinterpret_cast<double *>(&stack[3*8]),