Skip to content
Snippets Groups Projects
Commit 7b91ea93 authored by Christian Mehlis's avatar Christian Mehlis
Browse files

core: fix warning about discarding volatile

parent dcf4c3a8
No related branches found
No related tags found
No related merge requests found
...@@ -133,7 +133,7 @@ int msg_send_to_self(msg_t *m) ...@@ -133,7 +133,7 @@ int msg_send_to_self(msg_t *m)
{ {
unsigned int state = disableIRQ(); unsigned int state = disableIRQ();
int res = queue_msg(active_thread, m); int res = queue_msg((tcb_t *) active_thread, m);
restoreIRQ(state); restoreIRQ(state);
return res; return res;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment