fix a clang warning

This commit is contained in:
Lee Thomason 2014-12-17 10:43:48 -08:00
parent cd011bc1b7
commit 7334f9efab
1 changed files with 3 additions and 3 deletions

View File

@ -1967,9 +1967,9 @@ XMLPrinter::XMLPrinter( FILE* file, bool compact, int depth ) :
_entityFlag[ (int)entities[i].value ] = true; _entityFlag[ (int)entities[i].value ] = true;
} }
} }
_restrictedEntityFlag['&'] = true; _restrictedEntityFlag[(int)'&'] = true;
_restrictedEntityFlag['<'] = true; _restrictedEntityFlag[(int)'<'] = true;
_restrictedEntityFlag['>'] = true; // not required, but consistency is nice _restrictedEntityFlag[(int)'>'] = true; // not required, but consistency is nice
_buffer.Push( 0 ); _buffer.Push( 0 );
} }