util: u_queue: fix android build error
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 5 Jul 2018 10:55:43 +0000 (11:55 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 5 Jul 2018 14:42:26 +0000 (15:42 +0100)
commit78d5c1c82a2c437a70edb62c7217d9284cb99b5f
tree4916b3cc2b371b56ca3b843084606931ef89e2b5
parent93a5c9bc99a20516426cd633ea335f7da52db3b4
util: u_queue: fix android build error

mesa/src/util/u_queue.c:242:15: error: address of array 'queue->name'
  will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]

Fixes: b238e33bc9d48b814370 "kutil/queue: add a process name into a thread name"
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/util/u_queue.c