mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 08:16:33 +01:00
Explicit conversions to int from size_t for MSVC (64-bit) in apps
This commit is contained in:
parent
c97f9f6465
commit
840ab20ea2
4 changed files with 5 additions and 5 deletions
|
|
@ -178,7 +178,7 @@ int main( int argc, char *argv[] )
|
|||
|
||||
memset( buf, 0, sizeof( buf ) );
|
||||
|
||||
if( ( ret = dhm_make_params( &dhm, mpi_size( &dhm.P ), buf, &n,
|
||||
if( ( ret = dhm_make_params( &dhm, (int) mpi_size( &dhm.P ), buf, &n,
|
||||
ctr_drbg_random, &ctr_drbg ) ) != 0 )
|
||||
{
|
||||
printf( " failed\n ! dhm_make_params returned %d\n\n", ret );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue