Fix mingw CI failures

Change `%z` formatting of `size_t` to `%u` and casting to unsigned.
This commit is contained in:
Ron Eldor 2019-05-15 17:45:24 +03:00
parent 6b9b1b88fb
commit 801faf0fa1
2 changed files with 6 additions and 6 deletions

View file

@ -489,9 +489,9 @@ static int eap_tls_key_derivation ( void *p_expkey,
if( opt.debug_level > 2 ) if( opt.debug_level > 2 )
{ {
mbedtls_printf("exported maclen is %zu\n",maclen); mbedtls_printf("exported maclen is %u\n", (unsigned)maclen);
mbedtls_printf("exported keylen is %zu\n",keylen); mbedtls_printf("exported keylen is %u\n", (unsigned)keylen);
mbedtls_printf("exported ivlen is %zu\n",ivlen); mbedtls_printf("exported ivlen is %u\n", (unsigned)ivlen);
} }
return( 0 ); return( 0 );
} }

View file

@ -605,9 +605,9 @@ static int eap_tls_key_derivation ( void *p_expkey,
if( opt.debug_level > 2 ) if( opt.debug_level > 2 )
{ {
mbedtls_printf("exported maclen is %zu\n",maclen); mbedtls_printf("exported maclen is %u\n", (unsigned)maclen);
mbedtls_printf("exported keylen is %zu\n",keylen); mbedtls_printf("exported keylen is %u\n", (unsigned)keylen);
mbedtls_printf("exported ivlen is %zu\n",ivlen); mbedtls_printf("exported ivlen is %u\n", (unsigned)ivlen);
} }
return( 0 ); return( 0 );
} }