[PATCH 6/7] sptests/spcontext01: Fix warning

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 5 07:33:56 UTC 2014


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

diff --git a/testsuites/sptests/spcontext01/init.c b/testsuites/sptests/spcontext01/init.c
index 49a54d0..1380267 100644
--- a/testsuites/sptests/spcontext01/init.c
+++ b/testsuites/sptests/spcontext01/init.c
@@ -188,7 +188,7 @@ static void test_context_is_executing(void)
   _CPU_Context_Set_is_executing(&context, true);
   _CPU_Context_Initialize(
     &context,
-    &stack[0],
+    (void *) &stack[0],
     sizeof(stack),
     0,
     NULL,
-- 
1.8.4.5



More information about the devel mailing list