secureswitools/swianalysistoolkit/source/common/streamreader.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
--- a/secureswitools/swianalysistoolkit/source/common/streamreader.cpp	Tue Aug 31 15:21:33 2010 +0300
+++ b/secureswitools/swianalysistoolkit/source/common/streamreader.cpp	Wed Sep 01 12:22:02 2010 +0100
@@ -225,7 +225,7 @@
 	// This memory will be freed by the caller of this function
 	char *ptrUtf8 = new char[targetLength + 1];
 	
-	UTF16* sourceStart = reinterpret_cast<UTF16*>(aSource);
+	UTF16* sourceStart = static_cast<UTF16*>(aSource);
 	UTF16* sourceEnd = sourceStart + aSrcLength; 
 	UTF8* targetStart = reinterpret_cast<UTF8*>(ptrUtf8);
 	UTF8* targetEnd;