Correct a mistake I introduced when getting rid of lvalue casts.

This commit is contained in:
he 2006-06-11 08:29:03 +00:00
parent 7d2bcc7299
commit 34155cf541
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ra.c,v 1.15 2006/06/08 07:03:11 he Exp $ */
/* $NetBSD: ra.c,v 1.16 2006/06/11 08:29:03 he Exp $ */
/*
* Copyright (c) 1995 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -111,8 +111,8 @@ raopen(struct open_file *f, int adapt, int ctlr, int unit, int part)
mapregs = (int *)nexaddr + 512;
mapregs[494] = PG_V | (((u_int)&uda) >> 9);
mapregs[495] = mapregs[494] + 1;
ubauda = (struct uda *)0x3dc00 +
(((u_int)(&uda))&0x1ff);
ubauda = (struct uda *)((char*)0x3dc00 +
(((u_int)(&uda))&0x1ff));
} else
ubauda = &uda;
johan = (((u_int)ubauda) & 0xffff) + 8;