From: Carsten Haitzler carsten.haitzler@foss.arm.com
Signed-off-by: Carsten Haitzler carsten.haitzler@foss.arm.com --- include/lapi/keyctl.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/lapi/keyctl.h b/include/lapi/keyctl.h index 3be782494..9c847a429 100644 --- a/include/lapi/keyctl.h +++ b/include/lapi/keyctl.h @@ -42,13 +42,13 @@ static inline key_serial_t request_key(const char *type, static inline long keyctl(int cmd, ...) { va_list va; - unsigned long arg2, arg3, arg4, arg5; + uintptr_t arg2, arg3, arg4, arg5;
va_start(va, cmd); - arg2 = va_arg(va, unsigned long); - arg3 = va_arg(va, unsigned long); - arg4 = va_arg(va, unsigned long); - arg5 = va_arg(va, unsigned long); + arg2 = va_arg(va, uintptr_t); + arg3 = va_arg(va, uintptr_t); + arg4 = va_arg(va, uintptr_t); + arg5 = va_arg(va, uintptr_t); va_end(va);
return tst_syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5);