Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2009, 4:03:59 PM (16 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/network/GamestateManager.cc

    r3214 r3301  
    174174    }
    175175
    176     assert(curid==(unsigned int)GAMESTATEID_INITIAL || curid<gamestateID);
     176    assert(curid==GAMESTATEID_INITIAL || curid<gamestateID);
    177177    COUT(4) << "acking gamestate " << gamestateID << " for clientid: " << clientID << " curid: " << curid << std::endl;
    178178    std::map<unsigned int, packet::Gamestate*>::iterator it;
Note: See TracChangeset for help on using the changeset viewer.