mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-15 03:41:30 +00:00
Merge pull request #194 from Dmitry-Me/fixCStyleCast
Replace C-style cast with static_cast
This commit is contained in:
commit
2af5679b26
@ -370,7 +370,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
--_currentAllocs;
|
--_currentAllocs;
|
||||||
Chunk* chunk = (Chunk*)mem;
|
Chunk* chunk = static_cast<Chunk*>( mem );
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
memset( chunk, 0xfe, sizeof(Chunk) );
|
memset( chunk, 0xfe, sizeof(Chunk) );
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user