TimerHandle_t is now type safe instead of void *.

Remove casts that are no longer required not type safe handles are used.
This commit is contained in:
Richard Barry
2018-06-11 04:43:12 +00:00
parent 3d8681de9e
commit 4a8c4c9eaf
6 changed files with 44 additions and 34 deletions

View File

@ -367,7 +367,7 @@ StreamBuffer_t * pxStreamBuffer = xStreamBuffer;
BaseType_t xStreamBufferReset( StreamBufferHandle_t xStreamBuffer )
{
StreamBuffer_t * const pxStreamBuffer = ( StreamBuffer_t * ) xStreamBuffer; /*lint !e9087 !e9079 Safe cast as StreamBufferHandle_t is opaque Streambuffer_t. */
StreamBuffer_t * const pxStreamBuffer = xStreamBuffer;
BaseType_t xReturn = pdFAIL, xIsMessageBuffer;
#if( configUSE_TRACE_FACILITY == 1 )