Fix "signed comparison" compiler error that occur in Chromium.

gfe-relnote: n/a (no functional change)
PiperOrigin-RevId: 224617739
Change-Id: Ia4fde17f3021c6d59a21bfdee603cef4e26f7ee6
diff --git a/http2/hpack/decoder/hpack_decoder_tables.cc b/http2/hpack/decoder/hpack_decoder_tables.cc
index 5002ab1..c88648f 100644
--- a/http2/hpack/decoder/hpack_decoder_tables.cc
+++ b/http2/hpack/decoder/hpack_decoder_tables.cc
@@ -15,8 +15,8 @@
   ptr->reserve(kFirstDynamicTableIndex);
   ptr->emplace_back("", "");
 
-#define STATIC_TABLE_ENTRY(name, value, index) \
-  DCHECK_EQ(ptr->size(), index);               \
+#define STATIC_TABLE_ENTRY(name, value, index)        \
+  DCHECK_EQ(ptr->size(), static_cast<size_t>(index)); \
   ptr->emplace_back(name, value)
 
 #include "net/third_party/quiche/src/http2/hpack/hpack_static_table_entries.inc"
diff --git a/http2/hpack/decoder/hpack_decoder_tables_test.cc b/http2/hpack/decoder/hpack_decoder_tables_test.cc
index 370c1a5..a54fa5f 100644
--- a/http2/hpack/decoder/hpack_decoder_tables_test.cc
+++ b/http2/hpack/decoder/hpack_decoder_tables_test.cc
@@ -39,8 +39,8 @@
 std::vector<StaticEntry> MakeSpecStaticEntries() {
   std::vector<StaticEntry> static_entries;
 
-#define STATIC_TABLE_ENTRY(name, value, index) \
-  DCHECK_EQ(static_entries.size() + 1, index); \
+#define STATIC_TABLE_ENTRY(name, value, index)                      \
+  DCHECK_EQ(static_entries.size() + 1, static_cast<size_t>(index)); \
   static_entries.push_back({name, value, index});
 
 #include "net/third_party/quiche/src/http2/hpack/hpack_static_table_entries.inc"