Fix warning (when compiling with strict warnings).

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3505 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2010-01-23 01:05:22 +00:00
parent 410d0c6454
commit b61a040e2f
+1 -1
View File
@@ -108,7 +108,7 @@ packetLength(const Packet *packet) {
static inline PacketType
packetType(const Packet *packet) {
return (PacketType) ntoh16(packet->header.type);
return (PacketType) (int) ntoh16(packet->header.type);
}
static inline bool