[rtems commit] testsuites/sptests/sp54/init.c: Add cast to avoid warning

Joel Sherril joel at rtems.org
Tue Mar 24 13:18:11 UTC 2015


Module:    rtems
Branch:    master
Commit:    dd23125a88f9e2bbd848e8d630fcdfa143c77402
Changeset: http://git.rtems.org/rtems/commit/?id=dd23125a88f9e2bbd848e8d630fcdfa143c77402

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sun Mar 22 09:43:23 2015 -0500

testsuites/sptests/sp54/init.c: Add cast to avoid warning

---

 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
 
 /*




More information about the vc mailing list