Fix printf format signedness error
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
a64417afe6
commit
987984482d
1 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,8 @@ int read_certificates( const char *const *filenames )
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
{
|
{
|
||||||
mbedtls_strerror( ret, error_message, sizeof( error_message ) );
|
mbedtls_strerror( ret, error_message, sizeof( error_message ) );
|
||||||
printf( "\n%s: -0x%04x (%s)\n", *cur, -ret, error_message );
|
printf( "\n%s: -0x%04x (%s)\n",
|
||||||
|
*cur, (unsigned) -ret, error_message );
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue