aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos')
-rw-r--r--src/gos/gos_arduino.c2
-rw-r--r--src/gos/gos_raw32.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gos/gos_arduino.c b/src/gos/gos_arduino.c
index 60c35cac..4c01695a 100644
--- a/src/gos/gos_arduino.c
+++ b/src/gos/gos_arduino.c
@@ -327,7 +327,7 @@ static thread *Qpop(threadQ * q) {
/* These functions are not static to prevent the compiler removing them as functions */
void get_stack_state(void) {
- char c;
+ char* c;
pframeinfo->localptr = (char *)&c;
_setjmp(pframeinfo->cxt);
}
diff --git a/src/gos/gos_raw32.c b/src/gos/gos_raw32.c
index 7a80dd0e..7aa88b2a 100644
--- a/src/gos/gos_raw32.c
+++ b/src/gos/gos_raw32.c
@@ -526,7 +526,7 @@ static thread *Qpop(threadQ * q) {
/* These functions are not static to prevent the compiler removing them as functions */
void get_stack_state(void) {
- char c;
+ char* c;
pframeinfo->localptr = (char *)&c;
_setjmp(pframeinfo->cxt);
}