--- 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<UTF16*>(aSource);
+ UTF16* sourceStart = reinterpret_cast<UTF16*>(aSource);
UTF16* sourceEnd = sourceStart + aSrcLength;
UTF8* targetStart = reinterpret_cast<UTF8*>(ptrUtf8);
UTF8* targetEnd;