Skip to content

Problematic string handle #33959

Description

@gengjiawen

if (alpn == NGTCP2_ALPN_H3 + 1) {

clang warning:

../../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) {
              ~~~~~~~~~~~~~~~^~~

image

cc @jasnell @nodejs/quic

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.quicIssues and PRs related to the QUIC transport implementation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions