summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-05-09 18:20:23 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-05-09 18:21:11 +0200
commitf21316fbf0176ee23999504ce03917caac190cb3 (patch)
tree0c5428def35019d563c620a7f108da829e6fb9b3 /vcl/win
parent27abb730b290f3516582d2d787ef64af76663f97 (diff)
conversion to void* needs an explicit cast
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/gdi/winlayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 72f9cf3dac35..b2a24a7cb261 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -1081,7 +1081,7 @@ static bool InitUSP()
{
// get the usp10.dll version info
HMODULE usp10 = ::GetModuleHandle("usp10.dll");
- void *pScriptIsComplex = ::GetProcAddress(usp10, "ScriptIsComplex");
+ void *pScriptIsComplex = reinterpret_cast< void* >( ::GetProcAddress(usp10, "ScriptIsComplex"));
int nUspVersion = 0;
rtl_uString* pModuleURL = NULL;
osl_getModuleURLFromAddress( pScriptIsComplex, &pModuleURL );