fix wrong type in debug message
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
diff --git a/library/ssl_tls12_client.c b/library/ssl_tls12_client.c
index a7a1fc1..30b6481 100644
--- a/library/ssl_tls12_client.c
+++ b/library/ssl_tls12_client.c
@@ -2120,7 +2120,7 @@
tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id( peer_key->grp.id );
if( tls_id == 0 )
{
- MBEDTLS_SSL_DEBUG_MSG( 1, ( "ECC group %d not suported",
+ MBEDTLS_SSL_DEBUG_MSG( 1, ( "ECC group %u not suported",
peer_key->grp.id ) );
return( MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER );
}