aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-21 07:12:54 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-21 07:12:54 -0700
commit3d2686bbc613f19fcbb3eb33de6e67d9ca035b74 (patch)
treec8f5c0b3321cd763dfa5a6242e0e1f8293dca1a7 /src/core
parent9d9e4d3e21a5cb054c53e9096cfafceb8fcc30e9 (diff)
Fix cast
Diffstat (limited to 'src/core')
-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;
}
}