aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/tiger/tiger.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-26 00:17:56 +0200
committerSimon Warta <[email protected]>2015-06-27 10:57:40 +0200
commitc0d847700c2905d9f7eecf2835d2750b564fc65b (patch)
treeb48224cfa0db44700531d78f0aa98bce835bfce5 /src/lib/hash/tiger/tiger.cpp
parentd6044e49cefc7fb1415033ed7f7ed74e9a985d33 (diff)
lib/hash: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/hash/tiger/tiger.cpp')
-rw-r--r--src/lib/hash/tiger/tiger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/tiger/tiger.cpp b/src/lib/hash/tiger/tiger.cpp
index 86da18d24..c6dec2f33 100644
--- a/src/lib/hash/tiger/tiger.cpp
+++ b/src/lib/hash/tiger/tiger.cpp
@@ -51,7 +51,7 @@ void Tiger::compress_n(const byte input[], size_t blocks)
for(size_t i = 0; i != blocks; ++i)
{
- load_le(&X[0], input, X.size());
+ load_le(X.data(), input, X.size());
pass(A, B, C, X, 5); mix(X);
pass(C, A, B, X, 7); mix(X);