vcl/win/source/gdi/winlayout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f21316fbf0176ee23999504ce03917caac190cb3 Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Wed May 9 18:20:23 2012 +0200 conversion to void* needs an explicit cast diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 72f9cf3..b2a24a7 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 );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits