diff options
author | donbright <hugh.m.bright@gmail.com> | 2013-05-27 05:28:56 (GMT) |
---|---|---|
committer | donbright <hugh.m.bright@gmail.com> | 2013-05-27 05:28:56 (GMT) |
commit | ef7b80656fc39dc0fd4012231633cf858e6aa10b (patch) | |
tree | 17e5a57dfa154821918094cab47476189771ce00 /src/control.cc | |
parent | 0967a26bff45951d7b86fe628e8b1156e6e40ede (diff) | |
parent | 37dc9342a14206f5862447eb9d3d5049ec67f638 (diff) |
Merge pull request #368 from openscad/issue125
Issue125
Diffstat (limited to 'src/control.cc')
-rw-r--r-- | src/control.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control.cc b/src/control.cc index 7786e36..c5ad09b 100644 --- a/src/control.cc +++ b/src/control.cc @@ -114,7 +114,7 @@ AbstractNode *ControlModule::instantiate(const Context *ctx, const ModuleInstant // assert(filectx->evalctx); if (filectx->evalctx) { - if (n < filectx->evalctx->numChildren()) { + if (n < (int)filectx->evalctx->numChildren()) { node = filectx->evalctx->getChild(n)->evaluate(filectx->evalctx); } else { |