Added spaces after type casts

`(void) TimerContext;` seems more consistent with the current style than ((void) TimerContext);
No objections to changing this if necessary.
This commit is contained in:
irwir 2018-08-30 11:57:09 +03:00 committed by Simon Butcher
parent 8efb3cc0d1
commit 5afc7ba8bf

View file

@ -269,7 +269,7 @@ static DWORD alarmMs;
static void TimerProc( void *TimerContext ) static void TimerProc( void *TimerContext )
{ {
(void)TimerContext; (void) TimerContext;
Sleep( alarmMs ); Sleep( alarmMs );
mbedtls_timing_alarmed = 1; mbedtls_timing_alarmed = 1;
// Implicit call of _endthread() is better (see MS online docs) // Implicit call of _endthread() is better (see MS online docs)
@ -287,7 +287,7 @@ void mbedtls_set_alarm( int seconds )
mbedtls_timing_alarmed = 0; mbedtls_timing_alarmed = 0;
alarmMs = seconds * 1000; alarmMs = seconds * 1000;
(void)_beginthread( TimerProc, 0, NULL ); (void) _beginthread( TimerProc, 0, NULL );
} }
#else /* _WIN32 && !EFIX64 && !EFI32 */ #else /* _WIN32 && !EFIX64 && !EFI32 */