summaryrefslogtreecommitdiff
path: root/surface.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 /surface.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 'surface.cc')
-rw-r--r--surface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/surface.cc b/surface.cc
index 17b859d..5083c74 100644
--- a/surface.cc
+++ b/surface.cc
@@ -63,7 +63,7 @@ AbstractNode *SurfaceModule::evaluate(const Context *ctx, const ModuleInstanciat
Value convexity = c.lookup_variable("convexity", true);
if (convexity.type == Value::NUMBER) {
- node->convexity = convexity.num;
+ node->convexity = (int)convexity.num;
}
return node;
contact: Jan Huwald // Impressum