Kaydet (Commit) f21316fb authored tarafından Luboš Luňák's avatar Luboš Luňák

conversion to void* needs an explicit cast

üst 27abb730
...@@ -1081,7 +1081,7 @@ static bool InitUSP() ...@@ -1081,7 +1081,7 @@ static bool InitUSP()
{ {
// get the usp10.dll version info // get the usp10.dll version info
HMODULE usp10 = ::GetModuleHandle("usp10.dll"); HMODULE usp10 = ::GetModuleHandle("usp10.dll");
void *pScriptIsComplex = ::GetProcAddress(usp10, "ScriptIsComplex"); void *pScriptIsComplex = reinterpret_cast< void* >( ::GetProcAddress(usp10, "ScriptIsComplex"));
int nUspVersion = 0; int nUspVersion = 0;
rtl_uString* pModuleURL = NULL; rtl_uString* pModuleURL = NULL;
osl_getModuleURLFromAddress( pScriptIsComplex, &pModuleURL ); osl_getModuleURLFromAddress( pScriptIsComplex, &pModuleURL );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment