diff mc-macro.c @ 711:35e6841ba01a

pointer fixes (partial)
author kono
date Sat, 27 Oct 2007 13:30:38 +0900
parents 0554b7f985ee
children bf94c295d763
line wrap: on
line diff
--- a/mc-macro.c	Thu Oct 25 13:58:42 2007 +0900
+++ b/mc-macro.c	Sat Oct 27 13:30:38 2007 +0900
@@ -403,7 +403,7 @@
 
 		p = st_cheap->ptr;
 		sprintf(num,"%d: ",lineno);
-		parse = list3(ST_COMMENT,parse,(int)p);
+		parse = list3n(ST_COMMENT,parse,(NMTBL*)p);
 		// should contain file name
 		c = 0;
 		while((*st_cheap->ptr = num[c++])) 
@@ -414,7 +414,7 @@
 			*st_cheap->ptr = 0;
 			st_cheap = increment_cheap(st_cheap,&p);
 			p = st_cheap->ptr;
-			// parse = list3(ST_COMMENT,parse,(int)p);
+			// parse = list3n(ST_COMMENT,parse,(NMTBL*)p);
 			sprintf(num,"%d: ",lineno);
 			c = 0;
 			while((*cheap->ptr = num[c++]))