diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-02-28 21:22:46 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2023-02-28 21:53:45 +0100 |
commit | 15ef38c4e3af506e7f35b9372cf9f657e9861701 (patch) | |
tree | 88e33af0bdf054640819c96aa81348394cbf642f /Makefile.am | |
parent | 2ae2ec35424a84d3f6baaa114f36d9a2a88962bc (diff) | |
download | bubblewrap-15ef38c4e3af506e7f35b9372cf9f657e9861701.tar.gz |
Avoid implicit conversions
Found by running under pedantic UBSAN:
../bubblewrap.c:968:21: runtime error: implicit conversion from type 'int' of value -1 (32-bit, signed) to type 'uid_t' (aka 'unsigned int') changed the value to 4294967295 (32-bit, unsigned)
../bubblewrap.c:1210:28: runtime error: implicit conversion from type 'int' of value -41 (32-bit, signed) to type 'unsigned int' changed the value to 4294967255 (32-bit, unsigned)
../bubblewrap.c:1215:28: runtime error: implicit conversion from type 'int' of value -41 (32-bit, signed) to type 'unsigned int' changed the value to 4294967255 (32-bit, unsigned)
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions