diff options
author | Simon Warta <[email protected]> | 2015-07-02 11:56:26 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-03 10:21:26 +0200 |
commit | ccb78bbd2757628557cf9af9658ef44a195a5a8c (patch) | |
tree | c9536f384252545859356d71601083540d4aff01 /src/lib/mac/poly1305 | |
parent | 030bb279cdb1f3a0bff1a0d09d264c9f029c393f (diff) |
s/auto/size_t/
Diffstat (limited to 'src/lib/mac/poly1305')
-rw-r--r-- | src/lib/mac/poly1305/poly1305.cpp | 2 |
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); |