From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Fri, 6 Apr 2012 19:53:33 +0200 Subject: [Cluster-devel] [PATCH] rgmanager: reslist: sanitize act_dup In-Reply-To: <20120406174420.GA660@redhat.com> Message-ID: <20120406175333.GA918@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Signed-off-by: Jan Pokorn? --- reslist.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reslist.c b/reslist.c index f9924cd..b75f4b0 100644 --- a/reslist.c +++ b/reslist.c @@ -626,10 +626,10 @@ print_resources(resource_t **resources) } -void * +resource_act_t * act_dup(resource_act_t *acts) { - int x; + size_t x; resource_act_t *newacts; for (x = 0; acts[x].ra_name; x++); -- 1.7.3.4