Skip to content

Commit

Permalink
Fix cannot convert ‘unsigned int [5]’ to ‘unsigned char (&)[20]’
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Jul 29, 2024
1 parent afe40ec commit 08daf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/include/proxy/proxy_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3696,7 +3696,7 @@ R"x*x*x(<html>
sha1.process_bytes(bufs.data(), file.gcount());

unsigned int hash[5];
sha1.get_digest(hash);
sha1.get_digest(*((boost::uuids::detail::sha1::digest_type*)&hash));

std::stringstream ss;
for (int i = 0; i < 5; ++i)
Expand Down

0 comments on commit 08daf90

Please sign in to comment.