summaryrefslogtreecommitdiff
path: root/src/CGALRenderer.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-08 01:01:55 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-08 01:01:55 (GMT)
commit5ac46455f4d2f6930cd3fad5e308a27dfc4f368a (patch)
tree2b2360976cca231efe5079ab899d8b65e156b4f5 /src/CGALRenderer.cc
parent54a2eb56a526633fa03c97a6108c717a66b83b07 (diff)
Killed some warnings
Diffstat (limited to 'src/CGALRenderer.cc')
-rw-r--r--src/CGALRenderer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CGALRenderer.cc b/src/CGALRenderer.cc
index b758b93..f8e914b 100644
--- a/src/CGALRenderer.cc
+++ b/src/CGALRenderer.cc
@@ -81,9 +81,9 @@ void CGALRenderer::draw(bool showfaces, bool showedges) const
const QColor &col = QColor(0x00, 0xbf, 0x99);
glColor3f(col.redF(), col.greenF(), col.blueF());
- for (int i=0; i < this->polyset->polygons.size(); i++) {
+ for (size_t i=0; i < this->polyset->polygons.size(); i++) {
glBegin(GL_POLYGON);
- for (int j=0; j < this->polyset->polygons[i].size(); j++) {
+ for (size_t j=0; j < this->polyset->polygons[i].size(); j++) {
const Vector3d &p = this->polyset->polygons[i][j];
glVertex3d(p[0], p[1], -0.1);
}
contact: Jan Huwald // Impressum