Files
rtl_433/include/bitbuffer.h
Benjamin Larsson 963bb4b259 Fix warnings about size_t being cast to a narrower type (#3580)
Based on PR #1875: several size_t values (from strlen(), fread(),
list_t.len, struct addrinfo::ai_addrlen) were implicitly narrowed to
int/unsigned/socklen_t, which triggers MSVC C4267 warnings on x64
Windows builds. Adds explicit casts and widens a few parameter/local
types to size_t where that is the semantically correct type.

Excludes the original PR's mongoose-related mg_send() casts, and
drops two hunks (flex.c, honeywell_cm921.c) that no longer apply
since the affected code was refactored away since 2021.

Co-authored-by: obones <1314739+obones@users.noreply.github.com>
2026-07-07 09:38:15 +02:00

7.1 KiB