From cc719113ccac792203f3b14fa00df73573d01bb0 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Thu, 8 Oct 2009 19:31:44 +0000 Subject: [PATCH] Correct cast. (Shouldn't matter.) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3201 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/netplay/packetsenders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/netplay/packetsenders.c b/sc2/src/sc2code/netplay/packetsenders.c index a8001e46a..7734a5b23 100644 --- a/sc2/src/sc2code/netplay/packetsenders.c +++ b/sc2/src/sc2code/netplay/packetsenders.c @@ -124,7 +124,7 @@ sendFleet(NetConnection *conn, NetplaySide side, const BYTE *ships, packet = Packet_Fleet_create(side, numShips); for (i = 0; i < numShips; i++) { - packet->ships[i].index = (uint32) i; + packet->ships[i].index = (uint8) i; packet->ships[i].ship = ships[i]; }