[rtems commit] sptests/spcontext01: Fix warning

Sebastian Huber sebh at rtems.org
Mon Sep 8 06:46:32 UTC 2014


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Sep  5 09:27:41 2014 +0200

sptests/spcontext01: Fix warning

---

 testsuites/sptests/spcontext01/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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,



More information about the vc mailing list