mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Added explicit casts to prevent compiler warnings when trying to build for iOS
This commit is contained in:
committed by
Manuel Pégourié-Gonnard
parent
8ef7088bb9
commit
ef5087d150
@ -379,7 +379,7 @@ int timing_self_test( int verbose )
|
||||
{
|
||||
(void) get_timer( &hires, 1 );
|
||||
|
||||
m_sleep( 500 * secs );
|
||||
m_sleep( (int)( 500 * secs ) );
|
||||
|
||||
millisecs = get_timer( &hires, 0 );
|
||||
|
||||
@ -402,7 +402,7 @@ int timing_self_test( int verbose )
|
||||
{
|
||||
(void) get_timer( &hires, 1 );
|
||||
|
||||
set_alarm( secs );
|
||||
set_alarm( (int) secs );
|
||||
while( !alarmed )
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user