Explicit conversions to int from size_t for MSVC (64-bit) in apps

This commit is contained in:
Paul Bakker 2013-11-30 15:14:38 +01:00
parent c97f9f6465
commit 840ab20ea2
4 changed files with 5 additions and 5 deletions

View file

@ -215,7 +215,7 @@ int main( int argc, char *argv[] )
fflush( stdout );
n = dhm.len;
if( ( ret = dhm_make_public( &dhm, dhm.len, buf, n,
if( ( ret = dhm_make_public( &dhm, (int) dhm.len, buf, n,
ctr_drbg_random, &ctr_drbg ) ) != 0 )
{
printf( " failed\n ! dhm_make_public returned %d\n\n", ret );