1
0
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:
Sander Niemeijer
2014-08-16 12:45:52 +02:00
committed by Manuel Pégourié-Gonnard
parent 8ef7088bb9
commit ef5087d150
6 changed files with 14 additions and 8 deletions

View File

@ -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 )
;