fix compiler warnings in vm

db4
Doug Coleman 2009-10-15 21:37:34 -05:00
parent 211dce8cd7
commit 0bb6327688
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ void factor_vm::dump_memory(cell from, cell to)
dump_cell(from);
}
void factor_vm::dump_zone(char *name, zone *z)
void factor_vm::dump_zone(const char *name, zone *z)
{
print_string(name); print_string(": ");
print_string("Start="); print_cell(z->start);

View File

@ -301,7 +301,7 @@ struct factor_vm
void print_callstack();
void dump_cell(cell x);
void dump_memory(cell from, cell to);
void dump_zone(char *name, zone *z);
void dump_zone(const char *name, zone *z);
void dump_generations();
void dump_objects(cell type);
void find_data_references_step(cell *scan);