Fixed a couple signedness warnings

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2980 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2008-05-19 21:34:09 +00:00
parent 3a5ffa0a11
commit 23f3c84c79
+2 -2
View File
@@ -123,7 +123,7 @@ FindMasterShip (SPECIES_ID ship_ref)
for (hStarShip = GetHeadLink (&master_q); hStarShip; hStarShip = hNextShip) for (hStarShip = GetHeadLink (&master_q); hStarShip; hStarShip = hNextShip)
{ {
DWORD ref; SPECIES_ID ref;
MASTER_SHIP_INFO *MasterPtr; MASTER_SHIP_INFO *MasterPtr;
MasterPtr = LockMasterShip (&master_q, hStarShip); MasterPtr = LockMasterShip (&master_q, hStarShip);
@@ -147,7 +147,7 @@ FindMasterShipIndex (SPECIES_ID ship_ref)
for (index = 0, hStarShip = GetHeadLink (&master_q); hStarShip; for (index = 0, hStarShip = GetHeadLink (&master_q); hStarShip;
++index, hStarShip = hNextShip) ++index, hStarShip = hNextShip)
{ {
DWORD ref; SPECIES_ID ref;
MASTER_SHIP_INFO *MasterPtr; MASTER_SHIP_INFO *MasterPtr;
MasterPtr = LockMasterShip (&master_q, hStarShip); MasterPtr = LockMasterShip (&master_q, hStarShip);