]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Minimal/IntSemTest.c
Work-in-progress check in of MicroBlaze Kintex7 demo.
[freertos] / FreeRTOS / Demo / Common / Minimal / IntSemTest.c
index 8f21e8296e7899f046769aa3da947d235611dc72..e9ecdacf6697b51e1ac037555e023c165c03cdca 100644 (file)
@@ -512,7 +512,7 @@ TickType_t xTimeNow;
        /* No mutual exclusion on xOkToGiveMutex, but this is only test code (and\r
        only executed on a 32-bit architecture) so ignore that in this case. */\r
        xTimeNow = xTaskGetTickCountFromISR();\r
-       if( ( xTimeNow - xLastGiveTime ) >= pdMS_TO_TICKS( intsemINTERRUPT_MUTEX_GIVE_PERIOD_MS ) )\r
+       if( ( ( TickType_t ) ( xTimeNow - xLastGiveTime ) ) >= pdMS_TO_TICKS( intsemINTERRUPT_MUTEX_GIVE_PERIOD_MS ) )\r
        {\r
                configASSERT( xISRMutex );\r
                if( xOkToGiveMutex != pdFALSE )\r