mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
check_radius: Make compiler happy
This commit is contained in:
parent
fce769d942
commit
fae05eb178
1 changed files with 2 additions and 2 deletions
|
|
@ -278,7 +278,7 @@ process_arguments (int argc, char **argv)
|
|||
break;
|
||||
case 'P': /* port */
|
||||
if (is_intnonneg (optarg))
|
||||
port = atoi (optarg);
|
||||
port = (unsigned short)atoi (optarg);
|
||||
else
|
||||
usage4 (_("Port must be a positive integer"));
|
||||
break;
|
||||
|
|
@ -314,7 +314,7 @@ process_arguments (int argc, char **argv)
|
|||
break;
|
||||
case 't': /* timeout */
|
||||
if (is_intpos (optarg))
|
||||
timeout_interval = atoi (optarg);
|
||||
timeout_interval = (unsigned)atoi (optarg);
|
||||
else
|
||||
usage2 (_("Timeout interval must be a positive integer"), optarg);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue