diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 13:10:54 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 14:03:38 +0200 |
commit | 0986d0d55881271e0c784399cf321e986df41fae (patch) | |
tree | 0fb74a323c852560f6ee4a1eb387c76e83dfdd36 /extensions/source/plugin | |
parent | 3e7eb8bcad60d12328198684287c59d6b8ebc84e (diff) |
mingw64: cast to pointer from integer of different size in extensions
Change-Id: Ie2162b71e4e9de9fe24ce54815e5139774bb2ec0
Diffstat (limited to 'extensions/source/plugin')
-rw-r--r-- | extensions/source/plugin/win/sysplug.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/plugin/win/sysplug.cxx b/extensions/source/plugin/win/sysplug.cxx index d75c54a87bdb..4f41e5289322 100644 --- a/extensions/source/plugin/win/sysplug.cxx +++ b/extensions/source/plugin/win/sysplug.cxx @@ -389,8 +389,8 @@ int32_t PluginComm_Impl::NPP_Write( NPP instance, NPStream* stream, int32_t offs m_eCall = eNPP_Write; m_aArgs[0] = (void*)instance; m_aArgs[1] = (void*)stream; - m_aArgs[2] = (void*)offset; - m_aArgs[3] = (void*)len; + m_aArgs[2] = (void*)(sal_IntPtr)offset; + m_aArgs[3] = (void*)(sal_IntPtr)len; m_aArgs[4] = buffer; return (NPError)execute(); } |