You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/11/23 20:28:49 UTC
cvs commit: xml-xerces/c/tests/DOM/RangeTest RangeTest.cpp
tng 01/11/23 11:28:49
Modified: c/tests/DOM/RangeTest RangeTest.cpp
Log:
Eliminate Warning from Solaris Forte C++: Warning: String literal converted to char* in initialization.
Revision Changes Path
1.4 +2 -2 xml-xerces/c/tests/DOM/RangeTest/RangeTest.cpp
Index: RangeTest.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/DOM/RangeTest/RangeTest.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- RangeTest.cpp 2001/11/23 16:18:54 1.3
+++ RangeTest.cpp 2001/11/23 19:28:49 1.4
@@ -57,7 +57,7 @@
/**
- * $Id: RangeTest.cpp,v 1.3 2001/11/23 16:18:54 tng Exp $
+ * $Id: RangeTest.cpp,v 1.4 2001/11/23 19:28:49 tng Exp $
*/
@@ -450,7 +450,7 @@
//Testing toString()
const char* str = aRange.toString().transcode();
- char* str2 = "eplacedTextinsertedTexttle";
+ const char* str2 = "eplacedTextinsertedTexttle";
TASSERT(*str == *str2);
//start and end before and after tests
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org