Skip to content

Commit

Permalink
cm-networking: Avoid warning about 64-bit shift
Browse files Browse the repository at this point in the history
  • Loading branch information
photron committed Dec 27, 2024
1 parent 6cbb659 commit 0ade6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/src/modules/cm_networking/cm_protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void CMNetworking::register_manager(const char *const *const hosts,

for (int i = 0; i < charger_count; ++i) {
if (endswith(hosts[i], ".local"))
needs_mdns |= 1 << i;
needs_mdns |= 1ull << i;

dest_addrs[i].sin_addr.s_addr = 0;
resolve_state[i] = RESOLVE_STATE_UNKNOWN;
Expand Down

0 comments on commit 0ade6c8

Please sign in to comment.