From 8a0975dfa741097d66afda24e872600f0eac3339 Mon Sep 17 00:00:00 2001 From: "Lee Thomason (grinliz)" Date: Sat, 31 Mar 2012 20:09:20 -0700 Subject: [PATCH] minor warning fix --- tinyxml2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index eda2200..9e92ae2 100644 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -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;