]> granicus.if.org Git - strace/blobdiff - print_mq_attr.c
io: change size types from unsigned long to kernel_ureg_t
[strace] / print_mq_attr.c
index dc09a8d613edb13f25b7a5940ca964bac816d12b..f4b2d138ec2fe79a31c28a02a5dd9b027424bd8d 100644 (file)
@@ -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;