Merge pull request #194 from Dmitry-Me/fixCStyleCast

Replace C-style cast with static_cast
This commit is contained in:
Lee Thomason 2014-08-17 14:55:39 -07:00
commit 2af5679b26
1 changed files with 1 additions and 1 deletions

View File

@ -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