Change stats max_count variables to unsigned.
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>master
parent
fd27f99045
commit
7d8f31da45
2
clock.c
2
clock.c
|
@ -55,7 +55,7 @@ struct clock_stats {
|
||||||
struct stats *offset;
|
struct stats *offset;
|
||||||
struct stats *freq;
|
struct stats *freq;
|
||||||
struct stats *delay;
|
struct stats *delay;
|
||||||
int max_count;
|
unsigned int max_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct clock {
|
struct clock {
|
||||||
|
|
|
@ -159,7 +159,7 @@ struct clock {
|
||||||
struct stats *offset_stats;
|
struct stats *offset_stats;
|
||||||
struct stats *freq_stats;
|
struct stats *freq_stats;
|
||||||
struct stats *delay_stats;
|
struct stats *delay_stats;
|
||||||
int stats_max_count;
|
unsigned int stats_max_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void update_clock_stats(struct clock *clock,
|
static void update_clock_stats(struct clock *clock,
|
||||||
|
|
Loading…
Reference in New Issue