From 60d98aebf2e268e76ee9311cf17ea501d00c414f Mon Sep 17 00:00:00 2001 From: auronandace Date: Wed, 8 Jul 2026 14:38:51 +0100 Subject: [PATCH] correct definition for PTHREAD_NULL --- src/header/pthread/cbindgen.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}