From c0d847700c2905d9f7eecf2835d2750b564fc65b Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Fri, 26 Jun 2015 00:17:56 +0200 Subject: lib/hash: Convert &vec[0] to vec.data() --- src/lib/hash/rmd160/rmd160.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/hash/rmd160') diff --git a/src/lib/hash/rmd160/rmd160.cpp b/src/lib/hash/rmd160/rmd160.cpp index d58704fa0..dad1d367a 100644 --- a/src/lib/hash/rmd160/rmd160.cpp +++ b/src/lib/hash/rmd160/rmd160.cpp @@ -83,7 +83,7 @@ void RIPEMD_160::compress_n(const byte input[], size_t blocks) for(size_t i = 0; i != blocks; ++i) { - load_le(&M[0], input, M.size()); + load_le(M.data(), input, M.size()); u32bit A1 = digest[0], A2 = A1, B1 = digest[1], B2 = B1, C1 = digest[2], C2 = C1, D1 = digest[3], D2 = D1, -- cgit v1.2.3