summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index b3b8c82..fe84b7c 100644
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
@@ -278,7 +278,7 @@ process_arguments (int argc, char **argv)
278 break; 278 break;
279 case 'P': /* port */ 279 case 'P': /* port */
280 if (is_intnonneg (optarg)) 280 if (is_intnonneg (optarg))
281 port = atoi (optarg); 281 port = (unsigned short)atoi (optarg);
282 else 282 else
283 usage4 (_("Port must be a positive integer")); 283 usage4 (_("Port must be a positive integer"));
284 break; 284 break;
@@ -314,7 +314,7 @@ process_arguments (int argc, char **argv)
314 break; 314 break;
315 case 't': /* timeout */ 315 case 't': /* timeout */
316 if (is_intpos (optarg)) 316 if (is_intpos (optarg))
317 timeout_interval = atoi (optarg); 317 timeout_interval = (unsigned)atoi (optarg);
318 else 318 else
319 usage2 (_("Timeout interval must be a positive integer"), optarg); 319 usage2 (_("Timeout interval must be a positive integer"), optarg);
320 break; 320 break;