mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-04 19:16:58 -04:00
Silence compiler warning in example program
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
398d45985b
commit
ecffd96910
@ -88,7 +88,7 @@ void print_out( const char *title, unsigned char *out, size_t len )
|
|||||||
do { \
|
do { \
|
||||||
ret = code; \
|
ret = code; \
|
||||||
if( ret != 0 ) { \
|
if( ret != 0 ) { \
|
||||||
printf( "%s:%03d: ret = -0x%04x\n", __func__, __LINE__, -ret ); \
|
printf( "%s:%03d: ret = -0x%04x\n", __func__, __LINE__, (unsigned) -ret ); \
|
||||||
goto exit; \
|
goto exit; \
|
||||||
} \
|
} \
|
||||||
} while( 0 )
|
} while( 0 )
|
||||||
|
@ -159,7 +159,7 @@ int main(void)
|
|||||||
printf( "MD\n" );
|
printf( "MD\n" );
|
||||||
int ret = md();
|
int ret = md();
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
printf( "ret = %d (-0x%04x)\n", ret, -ret );
|
printf( "ret = %d (-0x%04x)\n", ret, (unsigned) -ret );
|
||||||
|
|
||||||
psa_status_t status = psa_crypto_init();
|
psa_status_t status = psa_crypto_init();
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user