summaryrefslogtreecommitdiff
path: root/ttmac.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2005-07-12 04:23:32 +0000
committerweidai <weidai11@users.noreply.github.com>2005-07-12 04:23:32 +0000
commit1db8ea50840eb47f0f7d8f3c30d8e0916932ce90 (patch)
tree4b03760892a97a9bc452ebe8b7793bbebd402ad4 /ttmac.cpp
parent31068bd68590654dc218bbb183a2ca71bb4af08b (diff)
downloadcryptopp-git-1db8ea50840eb47f0f7d8f3c30d8e0916932ce90.tar.gz
port to MSVC .NET 2005 beta 2
Diffstat (limited to 'ttmac.cpp')
-rw-r--r--ttmac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttmac.cpp b/ttmac.cpp
index 208528d4..75640792 100644
--- a/ttmac.cpp
+++ b/ttmac.cpp
@@ -25,7 +25,7 @@ void TTMAC_Base::Init()
m_digest[4] = m_digest[9] = m_key[4];
}
-void TTMAC_Base::TruncatedFinal(byte *hash, unsigned int size)
+void TTMAC_Base::TruncatedFinal(byte *hash, size_t size)
{
PadLastBlock(BlockSize() - 2*sizeof(HashWordType));
CorrectEndianess(m_data, m_data, BlockSize() - 2*sizeof(HashWordType));