stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=038c4fed6c44e4a8fc9dd579dddb78bae462abc7

commit 038c4fed6c44e4a8fc9dd579dddb78bae462abc7
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Fri Nov 13 13:30:42 2015 +0100

    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.
---
 src/lib/eina/eina_thread_queue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_thread_queue.c b/src/lib/eina/eina_thread_queue.c
index 29a79b2..3a012ea 100644
--- a/src/lib/eina/eina_thread_queue.c
+++ b/src/lib/eina/eina_thread_queue.c
@@ -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
 };
 

-- 


Reply via email to