mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-09 11:36:28 +00:00
Explicit conversions and minor changes to prevent MSVC compiler warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user