aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/tls_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/support/tls_pthread.c')
-rw-r--r--src/core/support/tls_pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/support/tls_pthread.c b/src/core/support/tls_pthread.c
index f2e76a553f..9683a6e547 100644
--- a/src/core/support/tls_pthread.c
+++ b/src/core/support/tls_pthread.c
@@ -37,8 +37,8 @@
#include <grpc/support/tls.h>
-gpr_intptr gpr_tls_set(struct gpr_pthread_thread_local *tls, gpr_intptr value) {
- GPR_ASSERT(0 == pthread_setspecific(tls->key, (void*)value));
+intptr_t gpr_tls_set(struct gpr_pthread_thread_local *tls, intptr_t value) {
+ GPR_ASSERT(0 == pthread_setspecific(tls->key, (void *)value));
return value;
}