cmake: Fix multi-thread support building

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2025-12-08 13:06:46 +00:00
1 parent d97e7f39d8
commit 5fa14f6a74
4 files changed
+20 -7

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ coap_io_process_worker_thread(void *arg) {
coap_thread_param_t *thread_param = (coap_thread_param_t *)arg;
coap_context_t *context = thread_param->context;
#if (COAP_MAX_LOGGING_LEVEL >= _COAP_LOG_DEBUG)
long unsigned int thread_pid = coap_thread_pid;
long unsigned int thread_pid = (long unsigned int)coap_thread_pid;
#endif
thread_no = thread_param->thread_no;