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:
Sil Vilerino 2025-01-31 14:48:19 -05:00 committed by Marge Bot
parent 1e869b3750
commit d67980140c

View file

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