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:
Stefan Schmidt 2015-11-13 13:30:42 +01:00
parent d94120a156
commit 038c4fed6c
1 changed files with 1 additions and 1 deletions

View File

@ -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
};