Fixes: Scons build file broken when used in another SConstruct; warning in VC 8.0 when compiled with /Wp64
This commit is contained in:
@@ -3170,7 +3170,8 @@ void XmlUnitTestResultPrinter::OutputXmlCDataSection(::std::ostream* stream,
|
||||
for (;;) {
|
||||
const char* const next_segment = strstr(segment, "]]>");
|
||||
if (next_segment != NULL) {
|
||||
stream->write(segment, next_segment - segment);
|
||||
stream->write(
|
||||
segment, static_cast<std::streamsize>(next_segment - segment));
|
||||
*stream << "]]>]]><![CDATA[";
|
||||
segment = next_segment + strlen("]]>");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user