Two more fixes

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@872 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-07-24 11:21:34 +00:00
parent 0510d14f62
commit ec81a2b033

View File

@@ -111,7 +111,7 @@ update_buffer(VHierarchyNodeHandle _node_handle)
// tightly update window_min_ & window_max_ // tightly update window_min_ & window_max_
int none_zero_pos; int none_zero_pos;
for (none_zero_pos=buffer_size()-1; none_zero_pos >= 0; --none_zero_pos) for (none_zero_pos=int(buffer_size()-1); none_zero_pos >= 0; --none_zero_pos)
{ {
if (buffer_[none_zero_pos] != 0) break; if (buffer_[none_zero_pos] != 0) break;
} }