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
|
@ -170,7 +170,7 @@ off(int keep_radio_on)
|
|||
return 1;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static unsigned short
|
||||
static clock_time_t
|
||||
channel_check_interval(void)
|
||||
{
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue