[PATCH 40/42] testsuites/sptests/sp54/init.c: Add cast to avoid warning

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 23 14:39:38 UTC 2015


---
 testsuites/sptests/sp54/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/sptests/sp54/init.c b/testsuites/sptests/sp54/init.c
index 560c8b4..97dffa2 100644
--- a/testsuites/sptests/sp54/init.c
+++ b/testsuites/sptests/sp54/init.c
@@ -68,7 +68,7 @@ rtems_task Init(
  *  In this application, the initialization task performs the system
  *  initialization and then transforms itself into the idle task.
  */
-#define CONFIGURE_IDLE_TASK_BODY Init
+#define CONFIGURE_IDLE_TASK_BODY (Thread_Entry_numeric) Init
 #define CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION
 
 /*
-- 
1.9.3




More information about the devel mailing list