diff options
| author | Jonas Ask | 2009-11-14 14:57:50 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-11-14 14:57:50 +0000 |
| commit | 2b672f557a411e4641d65b50a8760e8f13759f12 (patch) | |
| tree | 2f18df3ce113b14b9dac0970e5fcf2929f170243 /BlockCondition.cpp | |
| parent | 243ec77e55ae06caec3ab8ae54f024924e5b3f95 (diff) | |
| download | stonesense-2b672f557a411e4641d65b50a8760e8f13759f12.tar.gz stonesense-2b672f557a411e4641d65b50a8760e8f13759f12.tar.bz2 stonesense-2b672f557a411e4641d65b50a8760e8f13759f12.tar.xz | |
Removed a bunch of warnings.
Diffstat (limited to 'BlockCondition.cpp')
| -rw-r--r-- | BlockCondition.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/BlockCondition.cpp b/BlockCondition.cpp index 0723dd3..ed4cb5b 100644 --- a/BlockCondition.cpp +++ b/BlockCondition.cpp @@ -248,7 +248,7 @@ bool NeighbourSameTypeCondition::Matches(Block* b) AndConditionalNode::~AndConditionalNode(void)
{
- int max = children.size();
+ uint32_t max = (int)children.size();
for(uint32_t i=0; i<max; i++)
{
delete(children[i]);
@@ -257,7 +257,7 @@ AndConditionalNode::~AndConditionalNode(void) bool AndConditionalNode::Matches(Block* b)
{
- int max = children.size();
+ uint32_t max = (int)children.size();
for(uint32_t i=0; i<max; i++)
{
if (!children[i]->Matches( b ))
@@ -273,7 +273,7 @@ bool AndConditionalNode::addCondition(BlockCondition* cond) OrConditionalNode::~OrConditionalNode(void)
{
- int max = children.size();
+ uint32_t max = (int)children.size();
for(uint32_t i=0; i<max; i++)
{
delete(children[i]);
@@ -282,7 +282,7 @@ OrConditionalNode::~OrConditionalNode(void) bool OrConditionalNode::Matches(Block* b)
{
- int max = children.size();
+ uint32_t max = (int)children.size();
for(uint32_t i=0; i<max; i++)
{
if (children[i]->Matches( b ))
|
