st/nine: Fix compilation issue in nine_debug

Some compilers complain of the implicit conversion.
Make it explicit.

Reported by:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6121
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9250

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9563>
This commit is contained in:
Axel Davy 2021-03-12 17:57:09 +01:00 committed by Marge Bot
parent 378bb07110
commit 6205400612

View file

@ -74,7 +74,7 @@ _nine_debug_printf( unsigned long flag,
#if defined(HAVE_PTHREAD)
if (dbg_flags & DBG_TID)
tid = pthread_self();
tid = (unsigned long)pthread_self();
#endif
if (dbg_flags & flag) {