mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-07-18 19:08:08 +02:00
Casting only.
This commit is contained in:
parent
b24032d4b0
commit
7eb7201b46
@ -978,7 +978,7 @@ signed portCHAR *pcOriginalReadPosition;
|
|||||||
|
|
||||||
if( xReturn == errQUEUE_EMPTY )
|
if( xReturn == errQUEUE_EMPTY )
|
||||||
{
|
{
|
||||||
if( xTicksToWait > 0 )
|
if( xTicksToWait > ( portTickType ) 0 )
|
||||||
{
|
{
|
||||||
if( xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE )
|
if( xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE )
|
||||||
{
|
{
|
||||||
@ -1079,7 +1079,7 @@ void vQueueDelete( xQueueHandle pxQueue )
|
|||||||
|
|
||||||
static void prvCopyDataToQueue( xQUEUE *pxQueue, const void *pvItemToQueue, portBASE_TYPE xPosition )
|
static void prvCopyDataToQueue( xQUEUE *pxQueue, const void *pvItemToQueue, portBASE_TYPE xPosition )
|
||||||
{
|
{
|
||||||
if( pxQueue->uxItemSize == 0 )
|
if( pxQueue->uxItemSize == ( unsigned portBASE_TYPE ) 0 )
|
||||||
{
|
{
|
||||||
#if ( configUSE_MUTEXES == 1 )
|
#if ( configUSE_MUTEXES == 1 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user