summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-02-28 21:22:46 +0100
committerChristian Göttsche <cgzones@googlemail.com>2023-02-28 21:53:45 +0100
commit15ef38c4e3af506e7f35b9372cf9f657e9861701 (patch)
tree88e33af0bdf054640819c96aa81348394cbf642f /network.c
parent2ae2ec35424a84d3f6baaa114f36d9a2a88962bc (diff)
downloadbubblewrap-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 'network.c')
0 files changed, 0 insertions, 0 deletions