diff --git a/clock.c b/clock.c index 281adff..4a714eb 100644 --- a/clock.c +++ b/clock.c @@ -46,8 +46,8 @@ struct freq_estimator { tmv_t origin1; tmv_t ingress1; - int max_count; - int count; + unsigned int max_count; + unsigned int count; }; struct clock { diff --git a/port.c b/port.c index b06a648..1438808 100644 --- a/port.c +++ b/port.c @@ -43,8 +43,8 @@ struct nrate_estimator { double ratio; tmv_t origin1; tmv_t ingress1; - int max_count; - int count; + unsigned int max_count; + unsigned int count; }; struct port {