* defs.h (dumpiov_upto): Change data_size argument type
from unsigned long to kernel_ureg_t.
* util.c (dumpiov_upto): Change the type of data_size argument
and iov_len variable from unsigned long to kernel_ureg_t.
dumpiov_in_mmsghdr(struct tcb *, kernel_ureg_t addr);
extern void
-dumpiov_upto(struct tcb *, int len, kernel_ureg_t addr, unsigned long data_size);
+dumpiov_upto(struct tcb *, int len, kernel_ureg_t addr, kernel_ureg_t data_size);
extern void
dumpstr(struct tcb *, kernel_ureg_t addr, int len);
void
dumpiov_upto(struct tcb *const tcp, const int len, const kernel_ureg_t addr,
- unsigned long data_size)
+ kernel_ureg_t data_size)
{
#if SUPPORTED_PERSONALITIES > 1
union {
}
if (umoven(tcp, addr, size, iov) >= 0) {
for (i = 0; i < len; i++) {
- unsigned long iov_len = iov_iov_len(i);
+ kernel_ureg_t iov_len = iov_iov_len(i);
if (iov_len > data_size)
iov_len = data_size;
if (!iov_len)