diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2023-11-14 00:09:34 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2023-11-14 00:59:49 +0100 |
commit | 20d8d5eef009d29df457abe8fb40ea615971dedc (patch) | |
tree | d365f69db19ff69bc60f8e61e0bf61c5d4dddfcc /tests/odirect_write.c | |
parent | 3ec75d6ec08ce7be8b40be03cd5285532c285af4 (diff) | |
download | bindfs-20d8d5eef009d29df457abe8fb40ea615971dedc.tar.gz |
misc.c: Address warning -Wsign-compare
The symptom:
> src/misc.c: In function ‘path_starts_with’:
> src/misc.c:169:45: error: operand of ‘?:’ changes signedness from ‘long int’ to ‘long unsigned int’ due to unsignedness of other operand [-Werror=sign-compare]
> 169 | size_t path_part_len = path_slash ? path_slash - path_part : path_len - (path_part - path);
> | ^~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'tests/odirect_write.c')
0 files changed, 0 insertions, 0 deletions