* bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from

parse_and_eval_address to u_long before converting it to a pointer
type.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Change type of
ps_strings from int to u_long.
* i386obsd-nat.c (_initialize_i386obsd_nat): Cast _ps.val to
u_long instead of CORE_ADDR.
This commit is contained in:
Mark Kettenis
2004-11-19 21:55:24 +00:00
parent 6b3221b47a
commit 57ac95b8fc
4 changed files with 14 additions and 4 deletions

View File

@@ -143,7 +143,7 @@ _initialize_i386fbsd_nat (void)
#ifdef KERN_PS_STRINGS
{
int mib[2];
int ps_strings;
u_long ps_strings;
size_t len;
mib[0] = CTL_KERN;