aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/support/thd_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/support/thd_posix.c b/src/core/support/thd_posix.c
index 7bf527201d..fa4eb50556 100644
--- a/src/core/support/thd_posix.c
+++ b/src/core/support/thd_posix.c
@@ -87,7 +87,7 @@ gpr_thd_id gpr_thd_currentid(void) {
}
void gpr_thd_join(gpr_thd_id t) {
- pthread_join(t, NULL);
+ pthread_join((pthread_t)t, NULL);
}
#endif /* GPR_POSIX_SYNC */