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:
parent
0232e6c9dc
commit
d7e6935ec2
11 changed files with 13 additions and 11 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue