Files
meta-openembedded/meta-networking/recipes-protocols
Khem Raj fb6ca02415 ngtcp2: Fix example server build on 32-bit targets
The example server keeps the file size in a uint64_t and uses it as the
size of a std::span, which clang rejects as narrowing on targets with a
32-bit size_t, such as riscv32:

  examples/server.cc:236:54: error: non-constant-expression cannot be
  narrowed from type 'uint64_t' (aka 'unsigned long long') to
  'size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]

Add a patch that stores the length as a size_t and rejects files too
large to map instead of truncating their size.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-22 20:34:22 -07:00
..
2026-08-05 10:16:17 -07:00
2026-08-02 09:18:04 -07:00
2026-10-12 11:35:56 -07:00
2026-09-27 07:53:47 -07:00
2026-06-28 00:59:09 -07:00
2026-06-20 23:41:42 -07:00
2026-10-15 22:21:57 -07:00