mirror of https://github.com/AxioDL/tinyxml2.git
Replace C-style cast with static_cast
This commit is contained in:
parent
73c822c201
commit
5657176b61
|
@ -370,7 +370,7 @@ public:
|
|||
return;
|
||||
}
|
||||
--_currentAllocs;
|
||||
Chunk* chunk = (Chunk*)mem;
|
||||
Chunk* chunk = static_cast<Chunk*>( mem );
|
||||
#ifdef DEBUG
|
||||
memset( chunk, 0xfe, sizeof(Chunk) );
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue