summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2010-09-14 13:11:23 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-14 13:11:23 +0200
commitf3d51af52ffa30b63f89c3eede87c54d3c6a1f73 (patch)
tree3440a6e86c5427c561194eaa10b2f595c0351c67 /setup_native
parente1e9d3b73c82d0f7448d5ffa1f49d0a5f36b2a22 (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.cxx4
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,