From 7d8f31da45fe30c5a53efee4c8ae1454d5b44df5 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 12 Feb 2013 13:23:05 +0100 Subject: [PATCH] Change stats max_count variables to unsigned. Signed-off-by: Miroslav Lichvar --- clock.c | 2 +- phc2sys.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,