From abd60a39d5aa15dee027ab1757a79dd90db24df1 Mon Sep 17 00:00:00 2001
From: Christian Blichmann <cblichmann@google.com>
Date: Tue, 4 Aug 2015 13:47:46 +0200
Subject: [PATCH] Change cast to avoid warning

---
 src/core/iomgr/fd_posix.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/iomgr/fd_posix.c b/src/core/iomgr/fd_posix.c
index 91051a178e..cbc141a2d0 100644
--- a/src/core/iomgr/fd_posix.c
+++ b/src/core/iomgr/fd_posix.c
@@ -377,14 +377,14 @@ gpr_uint32 grpc_fd_begin_poll(grpc_fd *fd, grpc_pollset *pollset,
   }
   /* if there is nobody polling for read, but we need to, then start doing so */
   if (read_mask && !fd->read_watcher &&
-      gpr_atm_acq_load((gpr_uintptr *)&fd->readst) > READY) {
+      (gpr_uintptr)gpr_atm_acq_load(&fd->readst) > READY) {
     fd->read_watcher = watcher;
     mask |= read_mask;
   }
   /* if there is nobody polling for write, but we need to, then start doing so
    */
   if (write_mask && !fd->write_watcher &&
-      gpr_atm_acq_load((gpr_uintptr *)&fd->writest) > READY) {
+      (gpr_uintptr)gpr_atm_acq_load(&fd->writest) > READY) {
     fd->write_watcher = watcher;
     mask |= write_mask;
   }
-- 
GitLab