From 5afc7ba8bfe123d97ad8318dcb5f4b3adfff1c43 Mon Sep 17 00:00:00 2001 From: irwir Date: Thu, 30 Aug 2018 11:57:09 +0300 Subject: [PATCH] Added spaces after type casts `(void) TimerContext;` seems more consistent with the current style than ((void) TimerContext); No objections to changing this if necessary. --- library/timing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/timing.c b/library/timing.c index 4b79961f9..9a19e4567 100644 --- a/library/timing.c +++ b/library/timing.c @@ -269,7 +269,7 @@ static DWORD alarmMs; static void TimerProc( void *TimerContext ) { - (void)TimerContext; + (void) TimerContext; Sleep( alarmMs ); mbedtls_timing_alarmed = 1; // Implicit call of _endthread() is better (see MS online docs) @@ -287,7 +287,7 @@ void mbedtls_set_alarm( int seconds ) mbedtls_timing_alarmed = 0; alarmMs = seconds * 1000; - (void)_beginthread( TimerProc, 0, NULL ); + (void) _beginthread( TimerProc, 0, NULL ); } #else /* _WIN32 && !EFIX64 && !EFI32 */