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) {
~~~~~~~~~~~~~~~^~~
The text was updated successfully, but these errors were encountered:
gengjiawen
added
c++
Issues and PRs that require attention from people who are familiar with C++.
quic
Issues and PRs related to the QUIC implementation / HTTP/3.
labels
Jun 19, 2020
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
The text was updated successfully, but these errors were encountered: