diff --git a/clock.c b/clock.c index f5836fd..974b37c 100644 --- a/clock.c +++ b/clock.c @@ -55,7 +55,7 @@ struct clock_stats { struct stats *offset; struct stats *freq; struct stats *delay; - int max_count; + unsigned int max_count; }; struct clock { diff --git a/phc2sys.c b/phc2sys.c index 479bb83..582492d 100644 --- a/phc2sys.c +++ b/phc2sys.c @@ -159,7 +159,7 @@ struct clock { struct stats *offset_stats; struct stats *freq_stats; struct stats *delay_stats; - int stats_max_count; + unsigned int stats_max_count; }; static void update_clock_stats(struct clock *clock,