diff -r 9af5c039b678 -r 96d65f841791 src/kdtree.cc --- 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++)