poll: change counter type from unsigned long to unsigned int

* poll.c (decode_poll_exiting): Change the type of printed and
max_printed counters from unsigned long to unsigned int.
This commit is contained in:
Дмитрий Левин 2016-12-22 17:59:19 +00:00
parent 8dbcedef30
commit b89258dcdd

4
poll.c
View File

@ -68,9 +68,9 @@ decode_poll_exiting(struct tcb *tcp, const long pts)
const kernel_ureg_t start = tcp->u_arg[0]; const kernel_ureg_t start = tcp->u_arg[0];
const kernel_ureg_t end = start + size; const kernel_ureg_t end = start + size;
kernel_ureg_t cur; kernel_ureg_t cur;
const unsigned long max_printed = const unsigned int max_printed =
abbrev(tcp) ? max_strlen : -1U; abbrev(tcp) ? max_strlen : -1U;
unsigned long printed; unsigned int printed;
static char outstr[1024]; static char outstr[1024];
char *outptr; char *outptr;