diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2015-12-29 23:11:26 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-12-29 23:18:19 +0100 |
commit | e914bfc3d6e5ddf6f8c5e93a4334873a48a24ddf (patch) | |
tree | 59c072d1689d526e7799d7fe8d8fe914a50162a6 /include | |
parent | d73d717ecac42457f12a2d843454ecda3aa7b004 (diff) |
fix compiler warnings in hurd/procfs
procfs: Fix compiler warnings.
* include/sys/procfs.h: Change uintptr_t to vm_address_t.
* procfs/process.c: Fix format strings.
* procfs/rootdir.c: Add missing casts.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/procfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/procfs.h b/include/sys/procfs.h index ec82308b..09d2030c 100644 --- a/include/sys/procfs.h +++ b/include/sys/procfs.h @@ -63,8 +63,8 @@ struct elf_psinfo char pr_psargs[ELF_PRARGSZ]; /* Initial part of argument list. */ int pr_wstat; /* Zombie exit status (not really used). */ int pr_argc; /* The argument count at startup. */ - uintptr_t pr_argv; /* Original argument vector address. */ - uintptr_t pr_envp; /* Original environment vector address. */ + vm_address_t pr_argv; /* Original argument vector address. */ + vm_address_t pr_envp; /* Original environment vector address. */ }; typedef struct elf_psinfo psinfo_t; |