mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-07-31 02:27:33 -04:00
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>
7.1 KiB
7.1 KiB