From 1f3aec2e67bfa759bc4e26c4e5c18f2b22c8e7fd Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 19 Jul 2023 15:51:40 +0800 Subject: [PATCH] bugfix(pthread): fixed log related warning --- components/pthread/pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/pthread/pthread.c b/components/pthread/pthread.c index 979060b17e..fde33d8a75 100644 --- a/components/pthread/pthread.c +++ b/components/pthread/pthread.c @@ -442,7 +442,7 @@ void pthread_exit(void *value_ptr) } } - ESP_LOGD(TAG, "Task stk_wm = %d", uxTaskGetStackHighWaterMark(NULL)); + ESP_LOGD(TAG, "Task stk_wm = %d", (int)uxTaskGetStackHighWaterMark(NULL)); xSemaphoreGive(s_threads_mux); // note: if this thread is joinable then after giving back s_threads_mux