windows does not know uint out of the box

This commit is contained in:
titiger 2014-07-23 02:33:10 +02:00
parent 082f3472ee
commit a51ae28018
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ using namespace Shared::Util;
namespace Glest{ namespace Game{
const uint CHANGE_COMMAND_SPEED = 325;
const uint MIN_FRAMECOUNT_CHANGE_COMMAND_SPEED = 160;
const int CHANGE_COMMAND_SPEED = 325;
const int MIN_FRAMECOUNT_CHANGE_COMMAND_SPEED = 160;
//Mutex Unit::mutexDeletedUnits;
//map<void *,bool> Unit::deletedUnits;

View File

@ -597,7 +597,7 @@ void UnitType::loaddd(int id,const string &dir, const TechTree *techTree,
if(parametersNode->hasChild("resources-death")) {
const XmlNode *deathResourcesNode= parametersNode->getChild("resources-death");
for(uint i=0; i < deathResourcesNode->getChildCount(); ++i){
for(int i=0; i < deathResourcesNode->getChildCount(); ++i){
const XmlNode *resourceNode= deathResourcesNode->getChild("resource", i);
string name= resourceNode->getAttribute("name")->getRestrictedValue();