diff options
-rw-r--r-- | src/lib/mac/poly1305/poly1305.cpp | 2 | ||||
-rw-r--r-- | src/lib/math/bigint/bigint.h | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/src/lib/math/bigint/bigint.h b/src/lib/math/bigint/bigint.h index fed986882..4a37425f5 100644 --- a/src/lib/math/bigint/bigint.h +++ b/src/lib/math/bigint/bigint.h @@ -278,7 +278,7 @@ class BOTAN_DLL BigInt if(top_word < size()) { - const auto len = size() - (top_word + 1); + const size_t len = size() - (top_word + 1); if (len > 0) { clear_mem(&m_reg[top_word+1], len); |