* Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and

dependencies.
	* scm-lang.c (gdb_string.h): Include.
	* objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
	call to correct type (char *).
	* cp-valprint.c (cp_print_static_field): Ditto.
	* somsolib.c (som_solib_create_inferior_hook): Add a declaration
	for external find_unwind_entry function (from hppa-tdep.c).
	* remote-pa.c (remote_write_bytes, remote_read_bytes): Change
	type of second arg to "char *" to be type compatible with
	dcache.
	(remote_wait): Cast second arg to strtol to correct type.
	* hppa-tdep.c (compare_unwind_entries): Change argument types to
	"const void *" to be type compatible with qsort, and then
	assign to local args prior to use.
This commit is contained in:
Fred Fish
1996-04-09 06:09:33 +00:00
parent 50d45d1b2f
commit 5579919f7d
8 changed files with 45 additions and 16 deletions

View File

@@ -499,7 +499,7 @@ cp_print_static_field (type, val, stream, format, recurse, pretty)
}
}
obstack_grow (&dont_print_statmem_obstack, &VALUE_ADDRESS (val),
obstack_grow (&dont_print_statmem_obstack, (char *) &VALUE_ADDRESS (val),
sizeof (CORE_ADDR));
CHECK_TYPEDEF (type);