From 8ae0f0dfbf6af343dd3274ac26a077f38a59ed52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 11 Feb 2019 08:43:43 +0900 Subject: [PATCH] [enco.core] Resolve sign-compare warning (#3015) This commit resolves a sign-compare warning in enco_core implementation. Signed-off-by: Jonghyun Park --- contrib/enco/core/src/CppGen/Subnet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/enco/core/src/CppGen/Subnet.cpp b/contrib/enco/core/src/CppGen/Subnet.cpp index a3c89c9..926fb39 100644 --- a/contrib/enco/core/src/CppGen/Subnet.cpp +++ b/contrib/enco/core/src/CppGen/Subnet.cpp @@ -355,7 +355,7 @@ std::unique_ptr SubnetStructBuilder::build(const ANNBinder *binder } }); - for (auto n = 0; n < binder->module()->operation()->count(); ++n) + for (unsigned n = 0; n < binder->module()->operation()->count(); ++n) { auto op = binder->module()->operation()->at(n); res->ctor() << OperationDecl{mname, op}; -- 2.7.4