From fef7914fb5cee2164639dad6ec32bfac7449ac68 Mon Sep 17 00:00:00 2001
From: Kristof Szabados <Kristof.Szabados@ericsson.com>
Date: Sat, 11 Aug 2018 16:26:03 +0200
Subject: [PATCH] size_t

Signed-off-by: Kristof Szabados <Kristof.Szabados@ericsson.com>
---
 mctr2/cli/Cli.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mctr2/cli/Cli.cc b/mctr2/cli/Cli.cc
index d02422cd6..be80c31f1 100644
--- a/mctr2/cli/Cli.cc
+++ b/mctr2/cli/Cli.cc
@@ -1157,7 +1157,7 @@ boolean Cli::conditionHolds(waitStateEnum askedState)
 
 int Cli::getHostIndex(const char* hostname)
 {
-  int hostname_len = strlen(hostname);
+  size_t hostname_len = strlen(hostname);
   int index, found = -1;
   for (index = 0; ; index++) {
     const mctr::host_struct *host =
-- 
GitLab