[rtems commit] samples/minimum/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: d05d31ff41c877eb279f3b40613f03b6afa052e8
Changeset: http://git.rtems.org/rtems/commit/?id=d05d31ff41c877eb279f3b40613f03b6afa052e8
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sun Mar 22 09:43:07 2015 -0500
samples/minimum/init.c: Add cast to avoid warning
---
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
/*
More information about the vc
mailing list