aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/surface/channel_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/surface/channel_init.c b/src/core/surface/channel_init.c
index 70ee2c5bbd..538be84696 100644
--- a/src/core/surface/channel_init.c
+++ b/src/core/surface/channel_init.c
@@ -100,7 +100,7 @@ void grpc_channel_init_finalize(void) {
void grpc_channel_init_shutdown(void) {
for (int i = 0; i < GRPC_NUM_CHANNEL_STACK_TYPES; i++) {
gpr_free(g_slots[i].slots);
- g_slots[i].slots = (void *)0xdeadbeef;
+ g_slots[i].slots = (void *)(uintptr_t)0xdeadbeef;
}
}