Signed-off-by: Karel Zak <kzak@redhat.com>
struct irq_stat *prev,
struct irq_stat **xstat,
int softirq,
- unsigned long threshold,
+ uintmax_t threshold,
size_t setsize,
cpu_set_t *cpuset)
{
}
for (i = 0; i < stat->nr_irq; i++)
- if (result[i].total >= threshold)
+ if ((uintmax_t) result[i].total >= threshold)
add_scols_line(out, &result[i], table);
free(result);
struct irq_stat *prev,
struct irq_stat **xstat,
int softirq,
- unsigned long threshold,
+ uintmax_t threshold,
size_t setsize,
cpu_set_t *cpuset);