cmdmon: avoid unsigned shorts

Change unsigned shorts to uint16_t or longer types to avoid any
assumptions about length of the short type.
This commit is contained in:
Miroslav Lichvar
2020-06-17 10:28:14 +02:00
parent 500c9cbf3b
commit f9e2a5852d
5 changed files with 7 additions and 7 deletions

View File

@@ -77,8 +77,8 @@ typedef struct {
typedef struct {
struct timespec ref_time;
unsigned short n_samples;
unsigned short n_runs;
unsigned long n_samples;
unsigned long n_runs;
unsigned long span_seconds;
double rtc_seconds_fast;
double rtc_gain_rate_ppm;