minor warning fix

This commit is contained in:
Lee Thomason (grinliz) 2012-03-31 20:09:20 -07:00
parent db5efc1219
commit 8a0975dfa7
1 changed files with 1 additions and 1 deletions

View File

@ -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;