diff options
author | peter <peter@FreeBSD.org> | 1998-10-14 10:08:35 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-10-14 10:08:35 +0000 |
commit | 9a0107aa1b492f93476b35eb0e41425d9477a347 (patch) | |
tree | 0f1330c353c02ecd6c57f79ddb502d426eb0a746 /sys/alpha | |
parent | 4523e75227a5a72ce98bb2f6ab27ce88809c99ba (diff) | |
download | FreeBSD-src-9a0107aa1b492f93476b35eb0e41425d9477a347.zip FreeBSD-src-9a0107aa1b492f93476b35eb0e41425d9477a347.tar.gz |
Fix a warning I missed before.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 6b011f5..d418525 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: machdep.c,v 1.15 1998/10/06 08:40:18 dfr Exp $ + * $Id: machdep.c,v 1.16 1998/10/14 09:53:24 peter Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -701,7 +701,7 @@ alpha_init(pfn, ptb, bim, bip, biv) /* But if the bootstrap tells us otherwise, believe it! */ if (bootinfo.kernend) kernend = (vm_offset_t)round_page(kernend); - preload_metadata = bootinfo.modptr; + preload_metadata = (caddr_t)bootinfo.modptr; kern_envp = bootinfo.envp; kernstartpfn = atop(ALPHA_K0SEG_TO_PHYS(kernstart)); |