diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-01-04 00:37:23 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-01-04 00:37:23 +0000 |
commit | 744ecaa5b6c024c4dfb9036e5efb65f7fec4f784 (patch) | |
tree | a81b11f6b2720586c517705b2f44fdcd8bd55d08 /engines/ccgost/gosthash.c | |
parent | 76d761ccd3dc1a8c5fb844d91a1d2bc29f0d2b13 (diff) |
Avoid WIN32 signed/unsigned warnings.
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; |