From 6205400612a753791b6fe82c9c2883012a4b85b0 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Fri, 12 Mar 2021 17:57:09 +0100 Subject: [PATCH] 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 Part-of: --- src/gallium/frontends/nine/nine_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/nine/nine_debug.c b/src/gallium/frontends/nine/nine_debug.c index 784d535d213..f3a6a945025 100644 --- a/src/gallium/frontends/nine/nine_debug.c +++ b/src/gallium/frontends/nine/nine_debug.c @@ -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) {