mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 20:54:24 +00:00
pthread: fix a type mismatch warning
This commit is contained in:
@@ -22,7 +22,7 @@ TEST_CASE("pthread create join", "[pthread]")
|
|||||||
volatile int num = 7;
|
volatile int num = 7;
|
||||||
volatile bool attr_init = false;
|
volatile bool attr_init = false;
|
||||||
void *thread_rval = NULL;
|
void *thread_rval = NULL;
|
||||||
pthread_t new_thread = NULL;
|
pthread_t new_thread = (pthread_t)NULL;
|
||||||
pthread_attr_t attr;
|
pthread_attr_t attr;
|
||||||
|
|
||||||
if (TEST_PROTECT()) {
|
if (TEST_PROTECT()) {
|
||||||
|
Reference in New Issue
Block a user