avoid some warnings on powerpc64.

This commit is contained in:
mrg 2010-03-29 00:13:32 +00:00
parent 885ee1b247
commit ffb25b0ea1

View File

@ -1,4 +1,4 @@
/* $NetBSD: boot.c,v 1.23 2009/01/28 15:03:28 tsutsui Exp $ */
/* $NetBSD: boot.c,v 1.24 2010/03/29 00:13:32 mrg Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -332,8 +332,8 @@ loaded:
esym = (void *)marks[MARK_END];
printf(" start=0x%x\n", entry);
__syncicache((void *) entry, (u_int) ssym - (u_int) entry);
chain((boot_entry_t) entry, bootline, ssym, esym);
__syncicache((void *)(uintptr_t)entry, (size_t)ssym - entry);
chain((boot_entry_t)(uintptr_t)entry, bootline, ssym, esym);
OF_exit();
}