summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-13 13:30:42 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-11-13 13:31:34 +0100
commit038c4fed6c44e4a8fc9dd579dddb78bae462abc7 (patch)
tree8b81bfa05e1c2b905e040bcc38d0e0d4662db598
parentd94120a15683d6b1ec1214e9eee5381d504eb8c5 (diff)
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.
-rw-r--r--src/lib/eina/eina_thread_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_thread_queue.c b/src/lib/eina/eina_thread_queue.c
index 29a79b261e..3a012ea30e 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
59 int size; // the total allocated bytes of data[] 59 int size; // the total allocated bytes of data[]
60 int first; // the byte pos of the first msg 60 int first; // the byte pos of the first msg
61 int last; // the byte pos just after the last msg 61 int last; // the byte pos just after the last msg
62 int full : 1; // is this block full yet? 62 Eina_Bool full : 1; // is this block full yet?
63 Eina_Thread_Queue_Msg data[1]; // data in memory beyond struct end 63 Eina_Thread_Queue_Msg data[1]; // data in memory beyond struct end
64}; 64};
65 65