diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2010-09-14 13:11:23 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-14 13:11:23 +0200 |
commit | f3d51af52ffa30b63f89c3eede87c54d3c6a1f73 (patch) | |
tree | 3440a6e86c5427c561194eaa10b2f595c0351c67 /setup_native | |
parent | e1e9d3b73c82d0f7448d5ffa1f49d0a5f36b2a22 (diff) |
win32-vs2005-compat.diff: Fix build with Visual Studio 2005
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/rebase/rebase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/rebase/rebase.cxx b/setup_native/source/win32/customactions/rebase/rebase.cxx index dfe1e82e1e9b..b25414c6bbf6 100644 --- a/setup_native/source/win32/customactions/rebase/rebase.cxx +++ b/setup_native/source/win32/customactions/rebase/rebase.cxx @@ -68,8 +68,8 @@ static BOOL rebaseImage( const std::string& filePath, LPVOID address ) ULONG_PTR lpNewImageBase = reinterpret_cast<ULONG_PTR>(address); BOOL bResult = ReBaseImage( - filePath.c_str(), - "", + (PSTR)filePath.c_str(), + (PSTR)"", TRUE, FALSE, FALSE, |