commit | 5657176b61a0911090405d1325fb1637cbbafe63 | [log] [tgz] |
---|---|---|
author | Dmitry-Me <wipedout@yandex.ru> | Fri Aug 15 11:03:47 2014 +0400 |
committer | Dmitry-Me <wipedout@yandex.ru> | Fri Aug 15 11:03:47 2014 +0400 |
tree | 5cca024f96a5b54c31179cdcb427e42efb9a3dd6 | |
parent | 73c822c2016d99a68a874f59c3c871b6f292f9d8 [diff] [blame] |
Replace C-style cast with static_cast
diff --git a/tinyxml2.h b/tinyxml2.h index 796f2b0..f4503fd 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -370,7 +370,7 @@ return; } --_currentAllocs; - Chunk* chunk = (Chunk*)mem; + Chunk* chunk = static_cast<Chunk*>( mem ); #ifdef DEBUG memset( chunk, 0xfe, sizeof(Chunk) ); #endif