aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-02 11:56:26 +0200
committerSimon Warta <[email protected]>2015-07-03 10:21:26 +0200
commitccb78bbd2757628557cf9af9658ef44a195a5a8c (patch)
treec9536f384252545859356d71601083540d4aff01 /src/lib/mac
parent030bb279cdb1f3a0bff1a0d09d264c9f029c393f (diff)
s/auto/size_t/
Diffstat (limited to 'src/lib/mac')
-rw-r--r--src/lib/mac/poly1305/poly1305.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/mac/poly1305/poly1305.cpp b/src/lib/mac/poly1305/poly1305.cpp
index 506150b0f..659667baf 100644
--- a/src/lib/mac/poly1305/poly1305.cpp
+++ b/src/lib/mac/poly1305/poly1305.cpp
@@ -190,7 +190,7 @@ void Poly1305::final_result(byte out[])
if(m_buf_pos != 0)
{
m_buf[m_buf_pos] = 1;
- const auto len = m_buf.size() - m_buf_pos - 1;
+ const size_t len = m_buf.size() - m_buf_pos - 1;
if (len > 0)
{
clear_mem(&m_buf[m_buf_pos+1], len);