Changeset 9fe1807 in network-game for common


Ignore:
Timestamp:
Jul 26, 2013, 6:33:18 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
1df6bec
Parents:
46d6469
Message:

Added MessageContainer to the VC++ project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.cpp

    r46d6469 r9fe1807  
    7373      for (it2 = sentMsg.begin(); it2 != sentMsg.end(); it2++) {
    7474         if (!(it2->second.getAcked())) {
    75             sendto(sock, it2->second.getMessage(), sizeof(NETWORK_MSG), 0, (struct sockaddr *)&it2->first, sizeof(struct sockaddr_in));
     75            sendto(sock, (const char*)it2->second.getMessage(), sizeof(NETWORK_MSG), 0, (struct sockaddr *)&it2->first, sizeof(struct sockaddr_in));
    7676         }
    7777      }
Note: See TracChangeset for help on using the changeset viewer.