From: Aleš Křenek Date: Thu, 14 Jul 2005 13:46:00 +0000 (+0000) Subject: const's to get rid of warnings X-Git-Tag: first_version~5 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=be28b912877572563ef4a0f1df0092bcb6ce286d;p=jra1mw.git const's to get rid of warnings --- diff --git a/org.glite.lb.common/src/xml_parse.c.T b/org.glite.lb.common/src/xml_parse.c.T index 4b2e2bd..749c4b8 100644 --- a/org.glite.lb.common/src/xml_parse.c.T +++ b/org.glite.lb.common/src/xml_parse.c.T @@ -2889,10 +2889,10 @@ int edg_wll_StatsRequestToXML( char **message) { char *pomA=NULL, *pomB=NULL, *pomC=NULL; - edg_wll_QueryRec **conditions; + const edg_wll_QueryRec **conditions; - conditions = (edg_wll_QueryRec **) malloc(2 * sizeof(edg_wll_QueryRec *)); + conditions = (const edg_wll_QueryRec **) malloc(2 * sizeof(edg_wll_QueryRec *)); conditions[1] = NULL; conditions[0] = cond;