[ooo-build-commit] .: setup_native/source

Fridrich Strba fridrich at kemper.freedesktop.org
Tue Sep 14 04:12:50 PDT 2010


 setup_native/source/win32/customactions/rebase/rebase.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit cbab5dec38efe13dd50455a1a9e50caeb8a6949e
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Tue Sep 14 13:11:23 2010 +0200

    win32-vs2005-compat.diff: Fix build with Visual Studio 2005

diff --git a/setup_native/source/win32/customactions/rebase/rebase.cxx b/setup_native/source/win32/customactions/rebase/rebase.cxx
index 8cdd099..edbd6d9 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,


More information about the ooo-build-commit mailing list