1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

Merge pull request #1027 from mehlis/core-tcb-warning

core: fix warning about discarding volatile
This commit is contained in:
Ludwig Ortmann 2014-04-18 15:08:34 +02:00
commit 6d28b12b9f

View File

@ -133,7 +133,7 @@ int msg_send_to_self(msg_t *m)
{
unsigned int state = disableIRQ();
int res = queue_msg(active_thread, m);
int res = queue_msg((tcb_t *) active_thread, m);
restoreIRQ(state);
return res;