aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-10 14:45:15 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-04-10 14:45:15 -0700
commitac328d2981ba0730ff4656106463282da4cbda80 (patch)
tree967257fdae9b0368bace3085ddcae9fdeee8dbd0 /src
parentf18286bda6a7a117f5e8e33c6d65446c141d150f (diff)
fix compile
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/iomgr/ev_epollex_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.c b/src/core/lib/iomgr/ev_epollex_linux.c
index 958f4d5028..d353eaf042 100644
--- a/src/core/lib/iomgr/ev_epollex_linux.c
+++ b/src/core/lib/iomgr/ev_epollex_linux.c
@@ -973,7 +973,7 @@ static void pg_create(grpc_exec_ctx *exec_ctx, polling_obj **initial_po,
/* assumes all polling objects in initial_po are locked */
polling_group *pg = gpr_malloc(sizeof(*pg));
po_init(&pg->po, PO_POLLING_GROUP);
- gpr_ref_init(&pg->refs, initial_po_count);
+ gpr_ref_init(&pg->refs, (int)initial_po_count);
GPR_ASSERT(initial_po[0]->group == NULL);
initial_po[0]->next = initial_po[0]->prev = initial_po[0];
initial_po[0]->group = pg;