/* CCL - lexical analysis
* Europagate, 1995
*
- * $Id: ccltoken.c,v 1.12 2007-04-30 19:55:40 adam Exp $
+ * $Id: ccltoken.c,v 1.14 2007-05-06 20:12:20 adam Exp $
*
* Old Europagate Log:
*
static const char **create_ar(const char *v1, const char *v2)
{
- const char **a = xmalloc(3 * sizeof(*a));
+ const char **a = (const char **) xmalloc(3 * sizeof(*a));
a[0] = xstrdup(v1);
if (v2)
{
int i;
for (i = 0; a[i]; i++)
xfree((char *) a[i]);
- xfree(a);
+ xfree((char **)a);
}
}