From a3979b025821895bec73349952a56d3c24fe435e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9C=A4=ED=98=84=EC=8B=9D/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 26 Aug 2019 10:38:56 +0900 Subject: [PATCH] [moco-tf] changing int to uint32_t (#6902) changing int to uint32_t to make the type of lhs and rhs of comparison Signed-off-by: Hyun Sik Yoon --- compiler/moco-tf/src/LogHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/moco-tf/src/LogHelper.cpp b/compiler/moco-tf/src/LogHelper.cpp index a487d17..e7b1bb7 100644 --- a/compiler/moco-tf/src/LogHelper.cpp +++ b/compiler/moco-tf/src/LogHelper.cpp @@ -36,7 +36,7 @@ std::ostream &operator<<(std::ostream &os, const loco::FilterShape &filter_shape std::ostream &operator<<(std::ostream &os, const loco::TensorShape &tensor_shape) { os << "["; - for (int r = 0; r < tensor_shape.rank(); ++r) + for (uint32_t r = 0; r < tensor_shape.rank(); ++r) { if (r) os << ","; -- 2.7.4