diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2015-12-29 18:10:27 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-12-29 20:47:40 +0100 |
commit | 05c3ffac543052c8d0b171a5f77bb977d5316a61 (patch) | |
tree | f23b657324ae41f03a81ce7cad5cc94be4d4300f /exec/main.c | |
parent | a718b0bfcce0d6426d3354815c957ce9dbb1ca21 (diff) | |
download | hurd-05c3ffac543052c8d0b171a5f77bb977d5316a61.tar.gz hurd-05c3ffac543052c8d0b171a5f77bb977d5316a61.tar.bz2 hurd-05c3ffac543052c8d0b171a5f77bb977d5316a61.zip |
fix compiler warnings in hurd/exec
exec: Fix compiler warnings.
* exec/elfcore.c: Cast arguments to vm_address_t.
* exec/main.c: Use %lu in asprintf.
Diffstat (limited to 'exec/main.c')
-rw-r--r-- | exec/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/main.c b/exec/main.c index beb6f61b..1ed7763e 100644 --- a/exec/main.c +++ b/exec/main.c @@ -145,7 +145,7 @@ trivfs_append_args (struct trivfs_control *fsys, if (MACH_PORT_VALID (opt_device_master)) { - asprintf (&opt, "--device-master-port=%d", opt_device_master); + asprintf (&opt, "--device-master-port=%lu", opt_device_master); if (opt) { |