summaryrefslogtreecommitdiff
path: root/sal/osl/w32/tempfile.cxx
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-03-31 13:21:38 +0200
committerVladimir Glazunov <vg@openoffice.org>2010-03-31 13:21:38 +0200
commit9734c73c9a61fc5ef4e263617add17914a9b5f15 (patch)
tree95ca1d6883126a3a59956d942e03062c3d38af65 /sal/osl/w32/tempfile.cxx
parent1a1c3d945c76eeb6617294b95b5a987339be217c (diff)
parent94924dfeda6f8505b829c5244553fefc958a0211 (diff)
CWS-TOOLING: integrate CWS mingwport29
Notes
split repo tag: ure_ooo/DEV300_m76
Diffstat (limited to 'sal/osl/w32/tempfile.cxx')
-rw-r--r--sal/osl/w32/tempfile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/tempfile.cxx b/sal/osl/w32/tempfile.cxx
index 4bf136b6b0e0..6a3d2549004a 100644
--- a/sal/osl/w32/tempfile.cxx
+++ b/sal/osl/w32/tempfile.cxx
@@ -240,7 +240,7 @@ oslFileError SAL_CALL osl_createTempFile(
oslFileError SAL_CALL osl_getTempDirURL(rtl_uString** pustrTempDir)
{
::osl::LongPathBuffer< sal_Unicode > aBuffer( MAX_LONG_PATH );
- LPWSTR lpBuffer = aBuffer;
+ LPWSTR lpBuffer = ::osl::mingw_reinterpret_cast<LPWSTR>(aBuffer);
DWORD nBufferLength = aBuffer.getBufSizeInSymbols() - 1;
DWORD nLength;