Changes between Initial Version and Version 2 of Ticket #92
- Timestamp:
- Nov 21, 2007, 2:22:52 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #92
- Property Reporter changed from to
-
Ticket #92 – Description
initial v2 1 {{{2 1 g++ with -pedantic option reports following warning that may significantly influence logic of this code: 3 2 3 {{{ 4 4 /home/mloskot/dev/geos/_cvs/geos/tests/xmltester/markup/MarkupSTL.cpp:884: warning: comparison is always true due to limited range of data type 5 }}} 5 6 6 7 Here is this comparison: 8 {{{ 7 9 int nEndCDATA = m_strDoc.find( "]]>", 8 10 token.nNext ); 9 11 if ( (unsigned int)nEndCDATA != string::npos 10 & amp;&nEndCDATA < m_aPos[iPos].nEndL )12 && nEndCDATA < m_aPos[iPos].nEndL ) 11 13 { 12 14 return m_strDoc.substr(token.nL+9,