From faf44ced9c2b363988dac5e315a7774673b51366 Mon Sep 17 00:00:00 2001 From: zacheiss Date: Fri, 27 Jul 2001 08:18:10 +0000 Subject: [PATCH] Don't need to cast the "isrecursive" argument; use atoi() instead. --- server/qsupport.pc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/qsupport.pc b/server/qsupport.pc index aa041cae..5dd8b454 100644 --- a/server/qsupport.pc +++ b/server/qsupport.pc @@ -1976,7 +1976,7 @@ int get_machines_of_container(struct query *q, char *argv[], client *cl, rargv[1] = containername; cnt_id = *(int *)argv[0]; - isrecursive = *(int *)argv[1]; + isrecursive = atoi(argv[1]); /* get the container name */ @@ -2037,7 +2037,7 @@ int get_subcontainers_of_container(struct query *q, char *argv[], client *cl, rargv[0] = subcontainername; cnt_id = *(int *)argv[0]; - isrecursive = *(int *)argv[1]; + isrecursive = atoi(argv[1]); /* get the container name */ -- 2.45.1