mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 18:35:28 +00:00
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:
parent
8efb3cc0d1
commit
5afc7ba8bf
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue