diff options
author | Craig Tiller <ctiller@google.com> | 2015-12-08 07:50:36 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-12-08 07:50:36 -0800 |
commit | d8552ab5ea2c0d78628c56e380148130f9dabf24 (patch) | |
tree | b2e4318a26c92354b8e2fdc7f5a35985696f54bb /src/core | |
parent | 045c8483c2d78421d40bf88112e012e1624a0d93 (diff) |
Fix typo
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/transport/chttp2/frame_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/chttp2/frame_data.c b/src/core/transport/chttp2/frame_data.c index e07fbb2cc7..38fa990758 100644 --- a/src/core/transport/chttp2/frame_data.c +++ b/src/core/transport/chttp2/frame_data.c @@ -118,7 +118,7 @@ void grpc_chttp2_encode_data(gpr_uint32 id, gpr_slice_buffer *inbuf, hdr = gpr_slice_malloc(9); p = GPR_SLICE_START_PTR(hdr); - GPR_ASSERT(write_bytes < 16777316); + GPR_ASSERT(write_bytes < (1<<24)); *p++ = (gpr_uint8)(write_bytes >> 16); *p++ = (gpr_uint8)(write_bytes >> 8); *p++ = (gpr_uint8)(write_bytes); |