commit | 8a0975dfa741097d66afda24e872600f0eac3339 | [log] [tgz] |
---|---|---|
author | Lee Thomason (grinliz) <leethomason@gmail.com> | Sat Mar 31 20:09:20 2012 -0700 |
committer | Lee Thomason (grinliz) <leethomason@gmail.com> | Sat Mar 31 20:09:20 2012 -0700 |
tree | 9a4e79e9af1d147f7bb75d110a3cbe69967fa9ee | |
parent | db5efc121914efd7591ea1059ab65c32f1bbd931 [diff] [blame] |
minor warning fix
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index eda2200..9e92ae2 100644 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -1576,7 +1576,7 @@ // 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;