diff options
author | 2017-09-07 22:47:16 -0700 | |
---|---|---|
committer | 2017-09-07 22:52:23 -0700 | |
commit | ca3c1c05ebad2b77f0c16c9f424ef42d5198cfd9 (patch) | |
tree | 9852e75aa9a643cb20df419b62ba353b40a24b5e /src/core/ext/transport/chttp2/transport/frame_rst_stream.c | |
parent | 7f6a27a4d3675adc0de263d291346aab2f46e733 (diff) |
More explicit pointer type conversion
Diffstat (limited to 'src/core/ext/transport/chttp2/transport/frame_rst_stream.c')
-rw-r--r-- | src/core/ext/transport/chttp2/transport/frame_rst_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/transport/frame_rst_stream.c b/src/core/ext/transport/chttp2/transport/frame_rst_stream.c index 689dc8935c..0133b6efa2 100644 --- a/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +++ b/src/core/ext/transport/chttp2/transport/frame_rst_stream.c @@ -77,7 +77,7 @@ grpc_error *grpc_chttp2_rst_stream_parser_parse(grpc_exec_ctx *exec_ctx, uint8_t *const beg = GRPC_SLICE_START_PTR(slice); uint8_t *const end = GRPC_SLICE_END_PTR(slice); uint8_t *cur = beg; - grpc_chttp2_rst_stream_parser *p = parser; + grpc_chttp2_rst_stream_parser *p = (grpc_chttp2_rst_stream_parser *)parser; while (p->byte != 4 && cur != end) { p->reason_bytes[p->byte] = *cur; |