diff options
author | Lily Ballard <lily@ballards.net> | 2024-10-19 00:39:48 -0700 |
---|---|---|
committer | Lily Ballard <lily@ballards.net> | 2024-10-20 13:13:11 -0700 |
commit | 068f4b147d589f2a219ba917537b53a56089c1ba (patch) | |
tree | d4e14a3f9634060f81a614f2375ee0704687d788 /src/libstore/crypto.cc | |
parent | 0ff8f9132552e03497b07e1e5c068660a7a04515 (diff) |
libstore: fix sign comparison warnings in darwin platform
It's not clear to me if `proc_pidinfo()` or `proc_pidfdinfo()` can
actually return negative values, the syscall wrappers convert `-1` into
zero and the semantics suggest that negative values don't make sense,
but just to be safe we'll preserve the int type until we've checked that
it's a positive value.
Fixes: https://git.lix.systems/lix-project/lix/issues/548
Change-Id: If575aec6b1e27dba63091c7a0316c7b3788747cd
Diffstat (limited to 'src/libstore/crypto.cc')
0 files changed, 0 insertions, 0 deletions