aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ɓukasz P. Michalik <lpmichalik@googlemail.com> 2017-04-10 16:43:29 +0200
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2018-01-29 01:26:39 +0100
commite21c3f70ddf2abd4b39c391dec4505ecb449e30f (patch)
treedd44acc3da19a41799f6e1412146e6f7e2a78ee0
parentf8e58ee1d02d2476ae92ebc3737e42b8b6a36891 (diff)
downloadpaludis-e21c3f70ddf2abd4b39c391dec4505ecb449e30f.tar.gz
paludis-e21c3f70ddf2abd4b39c391dec4505ecb449e30f.tar.xz
use correct type when stringifying whirlpool checksum
Patch-URL: https://paste.pound-python.org/raw/3MLCZhW0maomtLa2IOy5/ Change-Id: I7d56ff2388c5f9e4455bf830ef926500431ad9d2 Reviewed-on: https://galileo.mailstation.de/gerrit/8793 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
-rw-r--r--paludis/util/whirlpool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/whirlpool.cc b/paludis/util/whirlpool.cc
index 75ed86d..5e4b63d 100644
--- a/paludis/util/whirlpool.cc
+++ b/paludis/util/whirlpool.cc
@@ -455,7 +455,7 @@ Whirlpool::hexsum() const
{
std::stringstream result;
result << std::hex << std::right << std::setfill('0');
- for (unsigned long i : H)
+ for (uint64_t i : H)
result << std::setw(16) << from_bigendian(i);
return result.str();
}