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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user