projects
/
platform
/
core
/
appfw
/
component-based-application.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23abc08
)
Fix static analysis issues
32/283032/1
author
Changgyu Choi
<changyu.choi@samsung.com>
Mon, 17 Oct 2022 04:18:59 +0000
(13:18 +0900)
committer
Changgyu Choi
<changyu.choi@samsung.com>
Mon, 17 Oct 2022 04:18:59 +0000
(13:18 +0900)
Change-Id: I5c56a72f002fdbf71141f38a10095b499f17e3dd
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
component_based/port/util.cc
patch
|
blob
|
history
diff --git
a/component_based/port/util.cc
b/component_based/port/util.cc
index c032f2707a586193eb476b80632b4ed53cd7f936..1a23fd5523df84fc056df45b23e5b3603180a743 100644
(file)
--- 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<uint8_t>& data) {
break;
ss << std::setw(8) << address;
- nread = ((data.size() - address) > 16) ? 16 : (data.size() - address);
+ nread = static_cast<unsigned int>(
+ ((data.size() - address) > 16) ? 16 : (data.size() - address));
for (unsigned int i = 0; i < 16; ++i) {
if (i % 8 == 0)