Commit fac37dc4 by Kaveh R. Ghazi Committed by Kaveh Ghazi

gengtype.c (write_gc_structure_fields): Avoid signed/unsigned warnings in output files.

	* gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
	warnings in output files.

From-SVN: r56181
parent c2c967fd
2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
warnings in output files.
2002-08-09 Ziemowit Laski <zlaski@apple.com> 2002-08-09 Ziemowit Laski <zlaski@apple.com>
* c-common.c (flag_objc): New. * c-common.c (flag_objc): New.
......
...@@ -1129,7 +1129,7 @@ write_gc_structure_fields (of, s, val, prev_val, opts, indent, line, bitmap, ...@@ -1129,7 +1129,7 @@ write_gc_structure_fields (of, s, val, prev_val, opts, indent, line, bitmap,
oprintf (of, "%*ssize_t i%d;\n", indent, "", loopcounter); oprintf (of, "%*ssize_t i%d;\n", indent, "", loopcounter);
oprintf (of, "%*sggc_set_mark (%s.%s);\n", indent, "", oprintf (of, "%*sggc_set_mark (%s.%s);\n", indent, "",
val, f->name); val, f->name);
oprintf (of, "%*sfor (i%d = 0; i%d < (", indent, "", oprintf (of, "%*sfor (i%d = 0; i%d < (size_t)(", indent, "",
loopcounter, loopcounter); loopcounter, loopcounter);
output_escaped_param (of, length, val, prev_val, "length", line); output_escaped_param (of, length, val, prev_val, "length", line);
oprintf (of, "); i%d++) {\n", loopcounter); oprintf (of, "); i%d++) {\n", loopcounter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment