diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-05-14 21:46:05 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-05-14 22:05:06 +0000 |
commit | 9134aab4073a8be6bb529aeb05e8c5f4be69540f (patch) | |
tree | 19a6b1f2b0a7ebf3e77deb73257ce8d62fe078e7 /keyctl.c | |
parent | a8443f8695303401f561fe5747caab9b28672e9d (diff) | |
download | strace-9134aab4073a8be6bb529aeb05e8c5f4be69540f.tar.gz |
Prepare for transition from xlookup64 to xlookup
* fcntl.c (print_fcntl, SYS_FUNC(fcntl), SYS_FUNC(fcntl64)):
Cast 2nd argument of xlookup to unsigned long.
* prctl.c (SYS_FUNC(prctl)): Likewise.
* sched.c (SYS_FUNC(sched_getscheduler)): Likewise.
* time.c (do_adjtimex): Likewise.
* ioprio.c (sprint_ioprio): Change type of the argument
and local variables from int to unsigned int.
* keyctl.c (print_keyring_serial_number): Cast 2nd argument
of xlookup to unsigned int.
* net.c (tprint_sock_type): Change type of the argument to unsigned int.
* printmode.c (sprintmode): Likewise.
* printsiginfo.c (printsigval): Change type of si_code argument
to unsigned int.
Diffstat (limited to 'keyctl.c')
-rw-r--r-- | keyctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ typedef int32_t key_serial_t; static void print_keyring_serial_number(key_serial_t id) { - const char *str = xlookup(key_spec, id); + const char *str = xlookup(key_spec, (unsigned int) id); if (str) tprints(str); |