summaryrefslogtreecommitdiff
path: root/src/primitives.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-04 21:20:19 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-04 21:20:19 (GMT)
commitfaf4a6485143a9b0d1bbc45ddb32ac1bcd111946 (patch)
treec0a3b21e9409c40be3e8302066d41267df462f67 /src/primitives.cc
parent1e2e2f6944636ea26259688d46c67da57094d947 (diff)
Killed some 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 b18a816..67e19c3 100644
--- a/src/primitives.cc
+++ b/src/primitives.cc
@@ -505,7 +505,7 @@ sphere_next_r2:
for (size_t i=0; i<this->points.vec.size(); i++) {
double x,y;
if (!this->points.vec[i]->getv2(x, y)) {
- PRINTF("ERROR: Unable to convert point at index %d to a vec2 of numbers", i);
+ PRINTF("ERROR: Unable to convert point at index %d to a vec2 of numbers", int(i));
delete p;
return NULL;
}
contact: Jan Huwald // Impressum