Explicit conversions and minor changes to prevent MSVC compiler warnings

This commit is contained in:
Paul Bakker 2013-10-11 18:58:55 +02:00 committed by Paul Bakker
parent b887f1119e
commit b9cfaa0c7f
21 changed files with 111 additions and 79 deletions

View file

@ -379,7 +379,7 @@ static inline int cipher_get_iv_size( const cipher_context_t *ctx )
return 0;
if( ctx->iv_size != 0 )
return ctx->iv_size;
return (int) ctx->iv_size;
return ctx->cipher_info->iv_size;
}