src/kdtree.cc
branchpyrit
changeset 93 96d65f841791
parent 92 9af5c039b678
child 95 ca7d4c665531
--- a/src/kdtree.cc	Mon May 05 15:31:14 2008 +0200
+++ b/src/kdtree.cc	Tue May 06 09:39:58 2008 +0200
@@ -109,7 +109,7 @@
 	int axis = 0;
 	for (int ax = 0; ax < 3; ax++)
 	{
-		int lnum = 0, rnum = shapes->size();
+		int lnum = 0, rnum = (int)shapes->size();
 		BBox lbb = bounds;
 		BBox rbb = bounds;
 		for (edge = edges[ax].begin(); edge != edges[ax].end(); edge++)