From a3711050a219e887b6637969bac66fb7d261d9cf Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 5 Jul 2013 01:07:59 -0300 Subject: Minor compliance adjustments Data provided by clang Signed-off-by: shennetsind --- src/map/packets_struct.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/packets_struct.h') diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 8e7506686..f6e6a8a3f 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -112,7 +112,7 @@ enum packet_headers { struct packet_authok { short PacketType; unsigned int startTime; - char PosDir[3]; + unsigned char PosDir[3]; unsigned char xSize; unsigned char ySize; #if PACKETVER >= 20080102 @@ -217,7 +217,7 @@ struct packet_spawn_unit { #endif bool isPKModeON; unsigned char sex; - char PosDir[3]; + unsigned char PosDir[3]; unsigned char xSize; unsigned char ySize; short clevel; @@ -276,7 +276,7 @@ struct packet_unit_walking { #endif bool isPKModeON; unsigned char sex; - char MoveData[6]; + unsigned char MoveData[6]; unsigned char xSize; unsigned char ySize; short clevel; @@ -334,7 +334,7 @@ struct packet_idle_unit { #endif bool isPKModeON; unsigned char sex; - char PosDir[3]; + unsigned char PosDir[3]; unsigned char xSize; unsigned char ySize; unsigned char state; -- cgit v1.2.3-70-g09d2