aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/transport/chttp2
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-11-10 15:17:35 +0000
committerGravatar Craig Tiller <ctiller@google.com>2015-11-10 15:17:35 +0000
commite58d817818fe092f5f548857613b0784493f7d17 (patch)
tree1c256a7038284fdb45a9570c22d7eb01029f9b57 /test/core/transport/chttp2
parent3c53bb2f4680254a5e50228184ab8c2abae453f0 (diff)
casting
Diffstat (limited to 'test/core/transport/chttp2')
-rw-r--r--test/core/transport/chttp2/hpack_table_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/transport/chttp2/hpack_table_test.c b/test/core/transport/chttp2/hpack_table_test.c
index db55c27783..5bdeeafb67 100644
--- a/test/core/transport/chttp2/hpack_table_test.c
+++ b/test/core/transport/chttp2/hpack_table_test.c
@@ -174,7 +174,7 @@ static grpc_chttp2_hptbl_find_result find_simple(grpc_chttp2_hptbl *tbl,
static void test_find(void) {
grpc_chttp2_hptbl tbl;
- int i;
+ gpr_uint32 i;
char buffer[32];
grpc_mdctx *mdctx;
grpc_chttp2_hptbl_find_result r;
@@ -254,7 +254,7 @@ static void test_find(void) {
GPR_ASSERT(r.has_value == 1);
for (i = 0; i < tbl.num_ents; i++) {
- int expect = 9999 - i;
+ gpr_uint32 expect = 9999 - i;
gpr_ltoa(expect, buffer);
r = find_simple(&tbl, "test", buffer);