From: Aleš Křenek Date: Mon, 1 Aug 2005 12:06:59 +0000 (+0000) Subject: avoid "const" compiler warning X-Git-Tag: glite-lb-client-interface_R_2_0_0~6 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b3b09c18779be44da8f476deddfa7c76487b928d;p=jra1mw.git avoid "const" compiler warning --- diff --git a/org.glite.jp.common/src/context.c b/org.glite.jp.common/src/context.c index 057aad0..10f59d9 100644 --- a/org.glite.jp.common/src/context.c +++ b/org.glite.jp.common/src/context.c @@ -55,8 +55,8 @@ int glite_jp_clear_error(glite_jp_context_t ctx) while (e) { r = e->reason; - free(e->source); - free(e->desc); + free((char *) e->source); + free((char *) e->desc); free(e); e = r; }