mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-14 04:40:28 +01:00
u_thread.h: Fix warning C4800 forcing value to bool 'true' or 'false'
Reviewed-By: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Jesse Natalie <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33332>
This commit is contained in:
parent
1e869b3750
commit
d67980140c
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ util_current_thread_get_time_nano(void)
|
|||
|
||||
static inline bool u_thread_is_self(thrd_t thread)
|
||||
{
|
||||
return thrd_equal(thrd_current(), thread);
|
||||
return thrd_equal(thrd_current(), thread) != 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue