Merge pull request #12653 from vbatts/conversion_fix

core: fix int conversion
pull/13074/head
Yash Tibrewal 7 years ago committed by GitHub
commit c7ea15e9b7
  1. 2
      src/core/ext/transport/cronet/transport/cronet_transport.cc

@ -692,7 +692,7 @@ static void create_grpc_frame(grpc_exec_ctx *exec_ctx,
uint8_t *p = (uint8_t *)write_buffer;
/* Append 5 byte header */
/* Compressed flag */
*p++ = (flags & GRPC_WRITE_INTERNAL_COMPRESS) ? 1 : 0;
*p++ = (uint8_t)((flags & GRPC_WRITE_INTERNAL_COMPRESS) ? 1 : 0);
/* Message length */
*p++ = (uint8_t)(length >> 24);
*p++ = (uint8_t)(length >> 16);

Loading…
Cancel
Save