We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c539c92 + f8e5e35 commit 54915acCopy full SHA for 54915ac
include/boost/compute/detail/sha1.hpp
@@ -48,7 +48,7 @@ class sha1 {
48
std::ostringstream buf;
49
#if BOOST_VERSION >= 108600
50
for(int i = 0; i < 20; ++i)
51
- buf << std::hex << std::setfill('0') << std::setw(2) << digest[i];
+ buf << std::hex << std::setfill('0') << std::setw(2) << +digest[i];
52
#else
53
for(int i = 0; i < 5; ++i)
54
buf << std::hex << std::setfill('0') << std::setw(8) << digest[i];
0 commit comments