=================================================================== RCS file: /home/cvs/OpenXM/src/ox_toolkit/mathcap.c,v retrieving revision 1.8 retrieving revision 1.10 diff -u -p -r1.8 -r1.10 --- OpenXM/src/ox_toolkit/mathcap.c 2003/05/19 06:57:38 1.8 +++ OpenXM/src/ox_toolkit/mathcap.c 2003/09/15 09:31:41 1.10 @@ -1,5 +1,5 @@ /* -*- mode: C; coding: euc-japan -*- */ -/* $OpenXM: OpenXM/src/ox_toolkit/mathcap.c,v 1.7 2000/12/03 16:15:03 ohara Exp $ */ +/* $OpenXM: OpenXM/src/ox_toolkit/mathcap.c,v 1.9 2003/06/02 10:25:56 ohara Exp $ */ /* This module includes functions for handling mathcap databases. */ @@ -87,7 +87,7 @@ static table *new_table(int *src) int i; while (src[len++] != 0) { } - new = malloc(sizeof(table)*len); + new = MALLOC(sizeof(table)*len); for(i=0; icmotbl = new_table(sysinfo.cmo_tags); new->smtbl = new_table(sysinfo.sm_cmds); return new; @@ -279,7 +279,7 @@ cmo_mathcap* mathcap_get(mathcap *this) { cmo_list *mc = new_cmo_list(); cmo_list *l3 = new_cmo_list(); - list_append(l3, list_appendl(new_cmo_list(), + list_append(l3, (cmo *)list_appendl(new_cmo_list(), new_cmo_int32(OX_DATA), table_get_all(this->cmotbl), NULL)); list_appendl(mc, (cmo *)sysinfo_get(),