[PATCH 39/42] samples/minimum/init.c: Add cast to avoid warning

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


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

diff --git a/testsuites/samples/minimum/init.c b/testsuites/samples/minimum/init.c
index 03ed79e..0823a73 100644
--- a/testsuites/samples/minimum/init.c
+++ b/testsuites/samples/minimum/init.c
@@ -98,7 +98,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