summaryrefslogtreecommitdiff
path: root/render.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-08-10 07:18:35 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-08-10 07:18:35 (GMT)
commit8f2653820ec130969d1166ddc6d28ac4ecfc825c (patch)
tree512abb0f5912204f08d509e78c53459e5ea1a8b2 /render.cc
parentcf190ff46ee1ce6ffa68ae932682b27438badc91 (diff)
Clifford Wolf:
Fixed some trivial compiler warnings git-svn-id: http://svn.clifford.at/openscad/trunk@87 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'render.cc')
-rw-r--r--render.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.cc b/render.cc
index b9359a5..98a8ecb 100644
--- a/render.cc
+++ b/render.cc
@@ -56,7 +56,7 @@ AbstractNode *RenderModule::evaluate(const Context *ctx, const ModuleInstanciati
Value v = c.lookup_variable("convexity");
if (v.type == Value::NUMBER)
- node->convexity = v.num;
+ node->convexity = (int)v.num;
foreach (ModuleInstanciation *v, inst->children) {
AbstractNode *n = v->evaluate(inst->ctx);
contact: Jan Huwald // Impressum