summaryrefslogtreecommitdiff
path: root/src/primitives.cc
diff options
context:
space:
mode:
authorAndrew Plumb <andrew@plumb.org>2012-02-13 16:23:18 (GMT)
committerAndrew Plumb <andrew@plumb.org>2012-02-13 16:23:18 (GMT)
commitd4efb54284f0781aee40cb660712fa15256676df (patch)
tree11f0f6ab56cd78fa604f206aba19c18748d6236d /src/primitives.cc
parentb633845e55c1733ecd9fa4a01606fd7bdafacc48 (diff)
Cleaned up unsigned int compiler warnings
Diffstat (limited to 'src/primitives.cc')
-rw-r--r--src/primitives.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives.cc b/src/primitives.cc
index feaa1a4..ce52550 100644
--- a/src/primitives.cc
+++ b/src/primitives.cc
@@ -530,7 +530,7 @@ sphere_next_r2:
{
dd.paths.push_back(DxfData::Path());
for (size_t j=0; j<this->paths.vec[i]->vec.size(); j++) {
- int idx = this->paths.vec[i]->vec[j]->num;
+ unsigned int idx = this->paths.vec[i]->vec[j]->num;
if (idx < dd.points.size()) {
dd.paths.back().indices.push_back(idx);
}
contact: Jan Huwald // Impressum