Commit ec81a2b0 authored by Jan Möbius's avatar Jan Möbius
Browse files

Two more fixes

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@872 fdac6126-5c0c-442c-9429-916003d36597
parent 0510d14f
...@@ -111,7 +111,7 @@ update_buffer(VHierarchyNodeHandle _node_handle) ...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment