diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-05-09 18:20:23 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-05-09 18:21:11 +0200 |
commit | f21316fbf0176ee23999504ce03917caac190cb3 (patch) | |
tree | 0c5428def35019d563c620a7f108da829e6fb9b3 | |
parent | 27abb730b290f3516582d2d787ef64af76663f97 (diff) |
conversion to void* needs an explicit cast
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 2 |
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 ); |