Channel check interval is clock_time_t

Fix channel_check_interval routine in struct rdc_driver to be of type
clock_time_t -- otherwise this may overflow on some architectures.
This commit is contained in:
Ralf Schlatterbeck 2016-05-07 11:46:27 +02:00
parent 0232e6c9dc
commit d7e6935ec2
11 changed files with 13 additions and 11 deletions

View file

@ -86,7 +86,7 @@ struct rdc_driver {
int (* off)(int keep_radio_on);
/** Returns the channel check interval, expressed in clock_time_t ticks. */
unsigned short (* channel_check_interval)(void);
clock_time_t (* channel_check_interval)(void);
};
#endif /* RDC_H_ */