From 8388fea2f7dc56a479211ad521ba39ec2cd17e95 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 16 Jan 2026 11:43:30 +0100 Subject: [PATCH] [c,printf] fix wlog format string to match arguments --- winpr/libwinpr/thread/thread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/winpr/libwinpr/thread/thread.c b/winpr/libwinpr/thread/thread.c index 5323078f3..1214d41f3 100644 --- a/winpr/libwinpr/thread/thread.c +++ b/winpr/libwinpr/thread/thread.c @@ -529,7 +529,8 @@ static void* thread_launcher(void* arg) if (!TlsSetValue(currentThreadTlsIndex, thread)) { - WLog_ERR(TAG, "thread %d, unable to set current thread value", pthread_self()); + WLog_ERR(TAG, "thread %" PRIu64 ", unable to set current thread value", + WINPR_CXX_COMPAT_CAST(uint64_t, pthread_self())); goto exit; }