mirror of https://github.com/AxioDL/tinyxml2.git
minor warning fix
This commit is contained in:
parent
db5efc1219
commit
8a0975dfa7
|
@ -1576,7 +1576,7 @@ void XMLPrinter::PrintString( const char* p, bool restricted )
|
|||
// Check for entities. If one is found, flush
|
||||
// the stream up until the entity, write the
|
||||
// entity, and keep looking.
|
||||
if ( flag[*q] ) {
|
||||
if ( flag[(unsigned)(*q)] ) {
|
||||
while ( p < q ) {
|
||||
Print( "%c", *p );
|
||||
++p;
|
||||
|
|
Loading…
Reference in New Issue