Skip to content
Snippets Groups Projects
Commit abd60a39 authored by Christian Blichmann's avatar Christian Blichmann
Browse files

Change cast to avoid warning

parent e60c5e38
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment