diff options
Diffstat (limited to 'engines/ccgost/gosthash.c')
-rw-r--r-- | engines/ccgost/gosthash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/ccgost/gosthash.c b/engines/ccgost/gosthash.c index 1acd16317b..de55e0c3aa 100644 --- a/engines/ccgost/gosthash.c +++ b/engines/ccgost/gosthash.c @@ -185,7 +185,7 @@ int hash_block(gost_hash_ctx *ctx,const byte *block, size_t length) if (ctx->left) { /*There are some bytes from previous step*/ - int add_bytes = 32-ctx->left; + unsigned int add_bytes = 32-ctx->left; if (add_bytes>length) { add_bytes = length; |