From: Florian Liekweg Date: Thu, 14 Oct 2004 11:31:53 +0000 (+0000) Subject: ... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=595ef915539cb88beef00bc7b22d9c1278267856;p=libfirm ... [r4123] --- diff --git a/ir/external/read.c b/ir/external/read.c index 80ce04ae5..e457503d5 100644 --- a/ir/external/read.c +++ b/ir/external/read.c @@ -30,7 +30,7 @@ getNodeModule (xmlNodePtr node) if (NULL == mod_str) { return (NULL); } else { - char *res = strdup (mod_str); + const char *res = strdup (mod_str); return (res); } @@ -757,6 +757,9 @@ void test_getEffectByName () /* * $Log$ + * Revision 1.4 2004/10/14 11:31:53 liekweg + * ... + * * Revision 1.3 2004/10/13 13:36:28 rubino * fix for strdup *