1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

* Linux build fixes

This commit is contained in:
mateuszb
2011-10-23 13:53:37 +00:00
parent 8de4a4aef2
commit b18cbcbda7
3 changed files with 5 additions and 5 deletions

View File

@ -503,8 +503,8 @@ void CVCMIServer::startDuel(const std::string &battle, const std::string &leftAI
std::map<CConnection *, si32> pidsFromConns;
si32 PIDs[3] = {0}; //[0] left [1] right; [2] reference
//we need three connections
std::vector<boost::thread*> threads(howManyClients, NULL);
std::vector<CConnection*> conns(howManyClients, NULL);
std::vector<boost::thread*> threads(howManyClients, (boost::thread*)NULL);
std::vector<CConnection*> conns(howManyClients, (CConnection*)NULL);
for (int i = 0; i < howManyClients ; i++)
{