From aff8528b22adff04dee6ee769099756bd4c50736 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 23 Dec 2016 01:21:34 +0000 Subject: [PATCH] print_mq_attr: change address argument type from long to kernel_ureg_t * print_mq_attr.c (printmqattr): Change address argument type from long to kernel_ureg_t. --- print_mq_attr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/print_mq_attr.c b/print_mq_attr.c index dc09a8d6..f4b2d138 100644 --- a/print_mq_attr.c +++ b/print_mq_attr.c @@ -43,8 +43,8 @@ typedef struct mq_attr mq_attr_t; #include MPERS_DEFS -MPERS_PRINTER_DECL(void, printmqattr, struct tcb *tcp, const long addr, - bool decode_flags) +MPERS_PRINTER_DECL(void, printmqattr, struct tcb *const tcp, + const kernel_ureg_t addr, const bool decode_flags) { #if defined HAVE_MQUEUE_H || defined HAVE_LINUX_MQUEUE_H mq_attr_t attr; -- 2.40.0