diff --git a/src/header/pthread/cbindgen.toml b/src/header/pthread/cbindgen.toml index 54b578f5be..cfac1a052e 100644 --- a/src/header/pthread/cbindgen.toml +++ b/src/header/pthread/cbindgen.toml @@ -14,7 +14,7 @@ after_includes = """ // A value that shall not compare equal to any exiting thread. -#define PTHREAD_NULL (pthread_t(NULL)) +#define PTHREAD_NULL ((pthread_t)NULL) #define PTHREAD_COND_INITIALIZER {0} #define PTHREAD_MUTEX_INITIALIZER {0}