Jelajahi Sumber

fix the test error

Muxi Yan 8 tahun lalu
induk
melakukan
607413f623
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/core/ext/transport/cronet/transport/cronet_transport.c

+ 1 - 1
src/core/ext/transport/cronet/transport/cronet_transport.c

@@ -855,7 +855,7 @@ static enum e_op_result execute_stream_op(grpc_exec_ctx *exec_ctx,
     s->header_array.capacity = s->header_array.count;
     s->header_array.capacity = s->header_array.count;
     CRONET_LOG(GPR_DEBUG, "bidirectional_stream_start(%p, %s)", s->cbs, url);
     CRONET_LOG(GPR_DEBUG, "bidirectional_stream_start(%p, %s)", s->cbs, url);
     bidirectional_stream_start(s->cbs, url, 0, method, &s->header_array, false);
     bidirectional_stream_start(s->cbs, url, 0, method, &s->header_array, false);
-    int header_index;
+    unsigned int header_index;
     for (header_index = 0; header_index < s->header_array.count;
     for (header_index = 0; header_index < s->header_array.count;
          header_index++) {
          header_index++) {
       gpr_free((void *)s->header_array.headers[header_index].key);
       gpr_free((void *)s->header_array.headers[header_index].key);