Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2008, 11:53:31 PM (16 years ago)
Author:
landauf
Message:
  • some unsigned int conversions (except gamestatemanager)
  • small fix in Test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/network/packet/Packet.cc

    r1952 r1960  
    135135Packet *Packet::createPacket(ENetPacket *packet, ENetPeer *peer){
    136136  uint8_t *data = packet->data;
    137   assert(ClientInformation::findClient(&peer->address)->getID()!=-2 || !Host::isServer());
     137  assert(ClientInformation::findClient(&peer->address)->getID() != (unsigned int)-2 || !Host::isServer());
    138138  unsigned int clientID = ClientInformation::findClient(&peer->address)->getID();
    139139  Packet *p;
Note: See TracChangeset for help on using the changeset viewer.