const's to get rid of warnings
authorAleš Křenek <ljocha@ics.muni.cz>
Thu, 14 Jul 2005 13:46:00 +0000 (13:46 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Thu, 14 Jul 2005 13:46:00 +0000 (13:46 +0000)
org.glite.lb.common/src/xml_parse.c.T

index 4b2e2bd..749c4b8 100644 (file)
@@ -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;