mirror of https://github.com/AxioDL/tinyxml2.git
fix a clang warning
This commit is contained in:
parent
cd011bc1b7
commit
7334f9efab
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue