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/PacketID.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'source/PacketID.h') diff --git a/source/PacketID.h b/source/PacketID.h index f11688284..249760d3c 100644 --- a/source/PacketID.h +++ b/source/PacketID.h @@ -1,5 +1,10 @@ + #pragma once + + + + //tolua_begin enum ENUM_PACKET_ID { @@ -56,6 +61,10 @@ enum ENUM_PACKET_ID E_PLAYER_LIST_ITEM = 0xC9, E_PLAYER_ABILITIES = 0xca, // since 1.2.4, protocol version 29 E_PING = 0xfe, - E_DISCONNECT = 0xff, -}; + E_DISCONNECT = 0xff +} ; //tolua_end + + + + -- cgit v1.2.3