From: Changgyu Choi Date: Mon, 17 Oct 2022 04:18:59 +0000 (+0900) Subject: Fix static analysis issues X-Git-Tag: accepted/tizen/unified/20221104.082315~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54c7573caf3a908c49fcd89eefc35254619dbc11;p=platform%2Fcore%2Fappfw%2Fcomponent-based-application.git Fix static analysis issues Change-Id: I5c56a72f002fdbf71141f38a10095b499f17e3dd Signed-off-by: Changgyu Choi --- diff --git a/component_based/port/util.cc b/component_based/port/util.cc index c032f27..1a23fd5 100644 --- a/component_based/port/util.cc +++ b/component_based/port/util.cc @@ -40,7 +40,8 @@ void Util::Hexdump(const std::string& tag, const std::vector& data) { break; ss << std::setw(8) << address; - nread = ((data.size() - address) > 16) ? 16 : (data.size() - address); + nread = static_cast( + ((data.size() - address) > 16) ? 16 : (data.size() - address)); for (unsigned int i = 0; i < 16; ++i) { if (i % 8 == 0)