Skip to content
Snippets Groups Projects
Commit 8d59b0ef authored by Kristof Szabados's avatar Kristof Szabados
Browse files

conversion warning reduction.


Signed-off-by: default avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 5ded1062
No related branches found
No related tags found
No related merge requests found
...@@ -1001,8 +1001,8 @@ namespace Common { ...@@ -1001,8 +1001,8 @@ namespace Common {
if (errors.size() < *err_stack.top()) if (errors.size() < *err_stack.top())
FATAL_ERROR("Common::ReferenceChain::prev_error_state()"); FATAL_ERROR("Common::ReferenceChain::prev_error_state()");
int state = static_cast<int>(*err_stack.top()); size_t state = *err_stack.top();
for (int i = static_cast<int>(errors.size()) - 1; i >= state; --i) { for (size_t i = errors.size() - 1; i >= state; --i) {
errors.remove(i); errors.remove(i);
} }
delete err_stack.pop(); delete err_stack.pop();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment