You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../../src/quic/node_quic_crypto.cc:563:30: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
if (alpn == NGTCP2_ALPN_H3 + 1) {
~~~~~~~~~~~~~~~^~~
Right, I’ve run into this as well, but the problem is that the clang warning is just not helpful here. clang suggests using &NGTCP2_ALPN_H3[1] to me, which would probably fix the warning but also look quite a bit more confusing imo.
node/src/quic/node_quic_crypto.cc
Line 563 in 5536044
clang warning:
cc @jasnell @nodejs/quic