Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2009, 4:03:59 PM (15 years ago)
Author:
rgrieder
Message:

Found even more casts. They sure aren't all of them, but I hope to have caught every pointer C-style cast because they can be very dangerous.
Note: I didn't do the pointer casts in the network library because that would have taken way too long.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/gametypes/TeamDeathmatch.cc

    r3300 r3301  
    7474                playersperteam[it->second]++;
    7575
    76         unsigned int minplayers = (unsigned int)-1;
     76        unsigned int minplayers = static_cast<unsigned int>(-1);
    7777        size_t minplayersteam = 0;
    7878        for (size_t i = 0; i < this->teams_; ++i)
Note: See TracChangeset for help on using the changeset viewer.