From 208525c7ed8624d2da613fd90bddac7ec099209b Mon Sep 17 00:00:00 2001 From: RichardBarry Date: Thu, 28 May 2009 20:35:28 +0000 Subject: [PATCH] Just remove compiler warnings. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@739 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/tasks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/tasks.c b/Source/tasks.c index 34ed8f5c0..64417e11a 100644 --- a/Source/tasks.c +++ b/Source/tasks.c @@ -1977,13 +1977,13 @@ tskTCB *pxNewTCB; if( ulStatsAsPercentage > 0UL ) { - sprintf( pcStatsString, ( portCHAR * ) "%s\t\t%u\t\t%u%%\r\n", pxNextTCB->pcTaskName, pxNextTCB->ulRunTimeCounter, ulStatsAsPercentage ); + sprintf( pcStatsString, ( portCHAR * ) "%s\t\t%u\t\t%u%%\r\n", pxNextTCB->pcTaskName, ( unsigned int ) pxNextTCB->ulRunTimeCounter, ( unsigned int ) ulStatsAsPercentage ); } else { /* If the percentage is zero here then the task has - consumed less than 1% of the total run time. */ - sprintf( pcStatsString, ( portCHAR * ) "%s\t\t%u\t\t<1%%\r\n", pxNextTCB->pcTaskName, pxNextTCB->ulRunTimeCounter ); + consumed less than 1% of the total run time. */ + sprintf( pcStatsString, ( portCHAR * ) "%s\t\t%u\t\t<1%%\r\n", pxNextTCB->pcTaskName, ( unsigned int ) pxNextTCB->ulRunTimeCounter ); } } -- 2.39.5