mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/mutex: fix -fpermissive warning in C++ mode
g++ gives the error message "error: invalid conversion from ‘void*’ to ‘list_node*’ [-fpermissive]"
This commit is contained in:
parent
690c36b3cf
commit
1fdfa6480d
@ -58,7 +58,7 @@ typedef struct {
|
||||
* @brief This is the value of the mutex when locked and no threads are waiting
|
||||
* for it
|
||||
*/
|
||||
#define MUTEX_LOCKED ((void *)-1)
|
||||
#define MUTEX_LOCKED ((list_node_t *)-1)
|
||||
/**
|
||||
* @endcond
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user