forked from enlightenment/efl
eina_thread_queue: use Eina_Bool for one-bit bitfield
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.
This commit is contained in:
parent
d94120a156
commit
038c4fed6c
|
@ -59,7 +59,7 @@ struct _Eina_Thread_Queue_Msg_Block
|
|||
int size; // the total allocated bytes of data[]
|
||||
int first; // the byte pos of the first msg
|
||||
int last; // the byte pos just after the last msg
|
||||
int full : 1; // is this block full yet?
|
||||
Eina_Bool full : 1; // is this block full yet?
|
||||
Eina_Thread_Queue_Msg data[1]; // data in memory beyond struct end
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue