diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-12-29 16:20:57 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-12-29 22:32:06 +0100 |
commit | ca25d072393167164657770091b8b58f0183eb59 (patch) | |
tree | b8d443e0d9a57dd5672441e3914684111d09d562 /utils | |
parent | 1eee1e2c72bbe0c1351fdc2a0ac3e456eb2cc2ca (diff) | |
download | hurd-ca25d072393167164657770091b8b58f0183eb59.tar.gz hurd-ca25d072393167164657770091b8b58f0183eb59.tar.bz2 hurd-ca25d072393167164657770091b8b58f0183eb59.zip |
Use mach_msg_type_number_t whenever required to avoid warnings
Message-ID: <20231229212105.858759-3-flaviocruz@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mount.c | 2 | ||||
-rw-r--r-- | utils/msgport.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/mount.c b/utils/mount.c index 75211d7a..898e0569 100644 --- a/utils/mount.c +++ b/utils/mount.c @@ -493,7 +493,7 @@ do_query (struct fs *fs) error_t err; fsys_t fsys; char _opts[200], *opts = _opts; - size_t opts_len = sizeof opts; + mach_msg_type_number_t opts_len = sizeof opts; size_t nopts; err = fs_fsys (fs, &fsys); diff --git a/utils/msgport.c b/utils/msgport.c index a07cc0e2..e3ea4302 100644 --- a/utils/msgport.c +++ b/utils/msgport.c @@ -676,7 +676,7 @@ main(int argc, char *argv[]) size_t num_cmds = 0; struct cmds_argp_params cmds_argp_params = { &cmds, &num_cmds }; pid_t *pids = 0; /* User-specified pids. */ - size_t num_pids = 0; + mach_msg_type_number_t num_pids = 0; struct pids_argp_params pids_argp_params = { &pids, &num_pids, 0 }; error_t parse_opt (int key, char *arg, struct argp_state *state) |