From 15a6644ba1c45f1acc16ac1e883efc3e56c6bed2 Mon Sep 17 00:00:00 2001 From: Pedro Gonnet Date: Wed, 9 Sep 2026 00:53:00 -0700 Subject: [PATCH] Fix bad return type. PiperOrigin-RevId: 978371226 --- src/threadpool-atomics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threadpool-atomics.h b/src/threadpool-atomics.h index 67d4870..3eb24b1 100644 --- a/src/threadpool-atomics.h +++ b/src/threadpool-atomics.h @@ -308,7 +308,7 @@ static inline int32_t pthreadpool_fetch_add_sequentially_consistent_int32_t( return atomic_fetch_add_explicit(address, value, memory_order_seq_cst); } -static inline int32_t pthreadpool_fetch_add_sequentially_consistent_uint32_t( +static inline uint32_t pthreadpool_fetch_add_sequentially_consistent_uint32_t( pthreadpool_atomic_uint32_t* address, uint32_t value) { return atomic_fetch_add_explicit(address, value, memory_order_seq_cst); }