diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-04 14:21:42 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-04 14:22:03 +0200 |
commit | b50adb3f76db02add039d00ad9b597c6653eb2c4 (patch) | |
tree | 2a8ec929f9ec64a2b17063d907b41ca9c68ed127 /sal | |
parent | 5bf53717eca49920ff8f42998e4e80ec6be6e354 (diff) |
Don't truncate pointers to 32-bit ints on win64
Change-Id: I5305bf7c82cd3f9f4437de59b53024ef97a7fbc8
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/module.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx index 373994aa5dd8..0081a0e08af6 100644 --- a/sal/osl/w32/module.cxx +++ b/sal/osl/w32/module.cxx @@ -324,7 +324,7 @@ static sal_Bool SAL_CALL _osl_addressGetModuleURL_NT4( void *pv, rtl_uString **p ZeroMemory( &ModuleInfo, sizeof(ModuleInfo) ); ModuleInfo.SizeOfStruct = sizeof(ModuleInfo); - bSuccess = (sal_Bool)(!!lpfnSymGetModuleInfo( GetCurrentProcess(), (DWORD)pv, &ModuleInfo )); + bSuccess = (sal_Bool)(!!lpfnSymGetModuleInfo( GetCurrentProcess(), (DWORD_PTR)pv, &ModuleInfo )); if ( bSuccess ) { |