Removed some useless static_cast.

This commit is contained in:
dankan1890
2016-08-15 00:07:55 +02:00
parent cdba162897
commit 236ba4356e
5 changed files with 6 additions and 6 deletions

View File

@@ -161,7 +161,7 @@ namespace nana
--(state_.index);
else if(recycle)
{
state_.index = static_cast<unsigned>(module_->items.size() - 1);
state_.index = module_->items.size() - 1;
state_.offset_y = last_offset_y;
}
@@ -179,7 +179,7 @@ namespace nana
}
if(state_.index >= state_.offset_y + module_->max_items)
state_.offset_y = static_cast<unsigned>(state_.index - module_->max_items + 1);
state_.offset_y = state_.index - module_->max_items + 1;
}
}
else