From 2a72c5c8384d23cad054058ba0066ef5b163694e Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 3 Aug 2012 11:53:11 +0000 Subject: Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type. git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/WSSCompact.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/WSSCompact.h') diff --git a/source/WSSCompact.h b/source/WSSCompact.h index 192d0f4b8..2e2318fc3 100644 --- a/source/WSSCompact.h +++ b/source/WSSCompact.h @@ -27,7 +27,7 @@ public: cJsonChunkSerializer(void); Json::Value & GetRoot (void) {return m_Root; } - BLOCKTYPE * GetBlockData(void) {return m_BlockData; } + BLOCKTYPE * GetBlockData(void) {return (BLOCKTYPE *)m_BlockData; } bool HasJsonData (void) const {return m_HasJsonData; } protected: -- cgit v1.2.3