From 5657176b61a0911090405d1325fb1637cbbafe63 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Fri, 15 Aug 2014 11:03:47 +0400 Subject: [PATCH] Replace C-style cast with static_cast --- tinyxml2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyxml2.h b/tinyxml2.h index 796f2b0..f4503fd 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -370,7 +370,7 @@ public: return; } --_currentAllocs; - Chunk* chunk = (Chunk*)mem; + Chunk* chunk = static_cast( mem ); #ifdef DEBUG memset( chunk, 0xfe, sizeof(Chunk) ); #endif