Fix MSVC warnings in library and programs

This commit is contained in:
Manuel Pégourié-Gonnard 2015-07-01 15:51:43 +02:00
parent 7e2d68c1b2
commit 9de64f5af1
7 changed files with 38 additions and 18 deletions

View file

@ -491,7 +491,7 @@ int main( int argc, char *argv[] )
*/
if( opt.seed == 0 )
{
opt.seed = time( NULL );
opt.seed = (unsigned int) time( NULL );
mbedtls_printf( " . Pseudo-random seed: %u\n", opt.seed );
}