Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 17, 2009, 11:53:35 PM (15 years ago)
Author:
rgrieder
Message:

Found a few more C-Style casts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/pickup/PickupCollection.cc

    r3280 r3300  
    8686    bool PickupCollection::checkSlot(BaseItem* item)
    8787    {
    88         return ((int)this->items_.count(item->getPickupIdentifier()) < item->getMaxCarryAmount());
     88        return (static_cast<int>(this->items_.count(item->getPickupIdentifier())) < item->getMaxCarryAmount());
    8989    }
    9090    /**
Note: See TracChangeset for help on using the changeset viewer.