Commit 8d59b0ef authored by Kristof Szabados's avatar Kristof Szabados
Browse files

conversion warning reduction.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 5ded1062
......@@ -1001,8 +1001,8 @@ namespace Common {
if (errors.size() < *err_stack.top())
FATAL_ERROR("Common::ReferenceChain::prev_error_state()");
int state = static_cast<int>(*err_stack.top());
for (int i = static_cast<int>(errors.size()) - 1; i >= state; --i) {
size_t state = *err_stack.top();
for (size_t i = errors.size() - 1; i >= state; --i) {
errors.remove(i);
}
delete err_stack.pop();
......
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