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