chroot,whoami: use uintmax_t for printing uids
commit8083944484f2cdf6c9b737642567bcdb54db784d
authorCollin Funk <collin.funk1@gmail.com>
Mon, 7 Oct 2024 05:19:51 +0000 (6 22:19 -0700)
committerPádraig Brady <P@draigBrady.com>
Mon, 7 Oct 2024 10:47:57 +0000 (7 11:47 +0100)
tree244432fe14bddb70dbc238f2e3173644f97bf391
parent0911361e79cddc2ffeab043f9ff120c19431384a
chroot,whoami: use uintmax_t for printing uids

* src/chroot.c (main): Cast the uid to uintmax_t instead of int.
* src/whoami.c (main): Cast the uid to uintmax_t instead of unsigned
long int.
src/chroot.c
src/whoami.c