From f49175b2205abae76bd936e55a2760a6f42e88dc Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 6 Oct 2025 06:37:17 -0700 Subject: [PATCH] src: fix small compile warning in quic/streams.cc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/nodejs/node/issues/60110 PR-URL: https://github.com/nodejs/node/pull/60118 Reviewed-By: Michaël Zasso Reviewed-By: Anna Henningsen Reviewed-By: Yagiz Nizipli Reviewed-By: Tobias Nießen --- src/quic/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quic/defs.h b/src/quic/defs.h index 5519f1396d5..74505d8e401 100644 --- a/src/quic/defs.h +++ b/src/quic/defs.h @@ -318,7 +318,7 @@ constexpr uint64_t kMaxSizeT = std::numeric_limits::max(); constexpr uint64_t kMaxSafeJsInteger = 9007199254740991; constexpr auto kSocketAddressInfoTimeout = 60 * NGTCP2_SECONDS; constexpr size_t kMaxVectorCount = 16; -constexpr size_t kMaxStreamId = std::numeric_limits::max(); +constexpr stream_id kMaxStreamId = std::numeric_limits::max(); class DebugIndentScope final { public: