From b1f90f3bcf0f23c9ca50728163a547328170e8b5 Mon Sep 17 00:00:00 2001
From: Kristof Szabados <Kristof.Szabados@ericsson.com>
Date: Wed, 10 Jun 2020 20:06:06 +0200
Subject: [PATCH] revert this chage too to see if this is causing issue in CI.

Signed-off-by: Kristof Szabados <Kristof.Szabados@ericsson.com>
---
 compiler2/Setting.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler2/Setting.cc b/compiler2/Setting.cc
index d5da4a47f..9bad5193c 100644
--- a/compiler2/Setting.cc
+++ b/compiler2/Setting.cc
@@ -1001,8 +1001,8 @@ namespace Common {
     if (errors.size() < *err_stack.top())
       FATAL_ERROR("Common::ReferenceChain::prev_error_state()");
 
-    size_t state = *err_stack.top();
-    for (size_t i = errors.size() - 1; i >= state; --i) {
+    int state =  static_cast<int>(*err_stack.top());
+    for (int i =  static_cast<int>(errors.size()) - 1; i >= state; --i) {
       errors.remove(i);
     }
     delete err_stack.pop();
-- 
GitLab