diff -r 5cc91383ab1e -r 7333d7932ef7 secureswitools/swianalysistoolkit/source/common/streamreader.cpp --- a/secureswitools/swianalysistoolkit/source/common/streamreader.cpp Thu Aug 19 10:02:49 2010 +0300 +++ b/secureswitools/swianalysistoolkit/source/common/streamreader.cpp Tue Aug 31 15:21:33 2010 +0300 @@ -225,7 +225,7 @@ // This memory will be freed by the caller of this function char *ptrUtf8 = new char[targetLength + 1]; - UTF16* sourceStart = static_cast(aSource); + UTF16* sourceStart = reinterpret_cast(aSource); UTF16* sourceEnd = sourceStart + aSrcLength; UTF8* targetStart = reinterpret_cast(ptrUtf8); UTF8* targetEnd;