From: William D. <wdo...@us...> - 2005-01-24 21:48:05
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20481 Modified Files: flexml.pl Log Message: Remove compiler complaint about (void *) <-> (const char **) conversion. Index: flexml.pl =================================================================== RCS file: /cvsroot/flexml/flexml/flexml.pl,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** flexml.pl 5 Jan 2005 06:29:58 -0000 1.35 --- flexml.pl 24 Jan 2005 21:47:29 -0000 1.36 *************** *** 1143,1147 **** print " /* FleXML_init */\n"; ! print " if(!statenames) statenames=calloc(IMPOSSIBLE,sizeof(char*));\n"; for ('PROLOG','DOCTYPE','EPILOG','INCOMMENT','INPI','VALUE1','VALUE2','CDATA') { print " statenames[$_] = NULL;\n"; --- 1143,1147 ---- print " /* FleXML_init */\n"; ! print " if(!statenames) statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*));\n"; for ('PROLOG','DOCTYPE','EPILOG','INCOMMENT','INPI','VALUE1','VALUE2','CDATA') { print " statenames[$_] = NULL;\n"; |