commit | 38ecf0529c19fc46b8210e8877389bbe0bbbcb2e | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@google.com> | Thu Sep 14 20:57:30 2017 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Sep 14 20:57:30 2017 +0000 |
tree | 578e9bc0eb08c2f332a3f820a9687d8059fdeb4d | |
parent | cb9c5518c9c471b4b14349020310658500d0bb67 [diff] | |
parent | 814e9d308e89b721e70025d3469b021b4ff10042 [diff] |
Merge "Move unsolicited vold events to Binder."
diff --git a/KeyUtil.cpp b/KeyUtil.cpp index 7bbbf01..dbc73c1 100644 --- a/KeyUtil.cpp +++ b/KeyUtil.cpp
@@ -98,7 +98,7 @@ static std::string keyname(const std::string& prefix, const std::string& raw_ref) { std::ostringstream o; o << prefix << ":"; - for (auto i : raw_ref) { + for (unsigned char i : raw_ref) { o << std::hex << std::setw(2) << std::setfill('0') << (int)i; } return o.str();