aboutsummaryrefslogtreecommitdiff
path: root/macros.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-21 11:15:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-23 08:52:42 +0000
commit0bb928e02fa9ce4ec36cf2f1683e7a4e0c5e09dc (patch)
treeb2819eafe4e264da4cdbc782c701832d02891c2f /macros.h
parentcompletions/zsh: unbreak with BSD find(1) (diff)
client: explicitly use a 64-bit type for ‘total_len’
This fixes an out-of-range comparison in 32-bit builds: client.c:289:19: error: result of comparison of constant 4294967296 with expression of type 'size_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare] if (total_len >= 1llu << (8 * sizeof(uint32_t)) || ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'macros.h')
0 files changed, 0 insertions, 0 deletions