summaryrefslogtreecommitdiff
path: root/starmath/source/smdll.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:07:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:26 +0100
commit8b2779bf61993ead742a95f3abda5d96a7a86644 (patch)
tree1db4619afe5f8a571f94dc3172dde7dadcaee401 /starmath/source/smdll.cxx
parent7eeabbca710d387e462043afdc3d8af4e28b2123 (diff)
Clean up C-style casts from pointers to void
Change-Id: Ia1facd79ccfa142412c833bded0d65b50e71d961
Diffstat (limited to 'starmath/source/smdll.cxx')
-rw-r--r--starmath/source/smdll.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/smdll.cxx b/starmath/source/smdll.cxx
index f1a1bc6a7d6d..eea84b3e6080 100644
--- a/starmath/source/smdll.cxx
+++ b/starmath/source/smdll.cxx
@@ -51,7 +51,7 @@ namespace
SmDLL::SmDLL()
{
- SmModule** ppShlPtr = (SmModule**) GetAppData(SHL_SM);
+ SmModule** ppShlPtr = reinterpret_cast<SmModule**>(GetAppData(SHL_SM));
if ( *ppShlPtr )
return;