Make the counters for the frequency and rate estimators unsigned.
These are simple 'up' counters. There is no need for negative values here. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
5b8e169486
commit
c7098364f2
4
clock.c
4
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 {
|
||||
|
|
Loading…
Reference in New Issue