diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2023-11-14 00:13:20 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2023-11-14 00:59:53 +0100 |
commit | 09cc3d484d4c31578bc786e984bd90c9181acabb (patch) | |
tree | 1fe6930d27ff7d6d756f628e1934154cd5cb32a3 /src/debug.h | |
parent | 20d8d5eef009d29df457abe8fb40ea615971dedc (diff) | |
download | bindfs-09cc3d484d4c31578bc786e984bd90c9181acabb.tar.gz |
misc.c: Fix overflow detection zombie in function grow_memory_block
Started out with this warning:
> src/misc.c: In function ‘grow_memory_block’:
> src/misc.c:333:25: error: comparison of unsigned expression in ‘< 0’ is always false [-Werror=type-limits]
> 333 | if (new_cap < 0) { // Overflow
> | ^
Diffstat (limited to 'src/debug.h')
0 files changed, 0 insertions, 0 deletions