From b3b09c18779be44da8f476deddfa7c76487b928d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Mon, 1 Aug 2005 12:06:59 +0000 Subject: [PATCH] avoid "const" compiler warning --- org.glite.jp.common/src/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 1.8.2.3