fix compiler warning and remove trailing whitespace

This commit is contained in:
Jan Niklas Hasse 2012-08-18 17:41:03 +02:00
parent f4f6ab5ab1
commit 163e504e21

View File

@ -49,7 +49,7 @@ void Sweep::Triangulate(SweepContext& tcx)
void Sweep::SweepPoints(SweepContext& tcx)
{
for (int i = 1; i < tcx.point_count(); i++) {
for (size_t i = 1; i < tcx.point_count(); i++) {
Point& point = *tcx.GetPoint(i);
Node* node = &PointEvent(tcx, point);
for (unsigned int i = 0; i < point.edge_list.size(); i++) {