git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c45a3bd
)
avoid "const" compiler warning
author
Aleš Křenek
<ljocha@ics.muni.cz>
Mon, 1 Aug 2005 12:06:59 +0000
(12:06 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Mon, 1 Aug 2005 12:06:59 +0000
(12:06 +0000)
org.glite.jp.common/src/context.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.common/src/context.c
b/org.glite.jp.common/src/context.c
index
057aad0
..
10f59d9
100644
(file)
--- 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;
}