aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/gost_3411
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-12-13 22:06:59 +0000
committerlloyd <[email protected]>2010-12-13 22:06:59 +0000
commitaa8a0c19ec2156864d16bfe4b82fce4f2203c08d (patch)
treec6de672209e59214c91f29a702339c35d518c459 /src/hash/gost_3411
parentd73929a5ec894625e7e4cb82c1a22bea4a0e7a26 (diff)
Avoid more VC warnings
Diffstat (limited to 'src/hash/gost_3411')
-rw-r--r--src/hash/gost_3411/gost_3411.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/gost_3411/gost_3411.cpp b/src/hash/gost_3411/gost_3411.cpp
index 075f26889..c0f39da47 100644
--- a/src/hash/gost_3411/gost_3411.cpp
+++ b/src/hash/gost_3411/gost_3411.cpp
@@ -71,7 +71,7 @@ void GOST_34_11::compress_n(const byte input[], size_t blocks)
{
for(size_t i = 0; i != blocks; ++i)
{
- for(size_t j = 0, carry = 0; j != 32; ++j)
+ for(u16bit j = 0, carry = 0; j != 32; ++j)
{
u16bit s = sum[j] + input[32*i+j] + carry;
carry = get_byte(0, s);