Subject: Re: union file system
To: Berndt Josef Wulf <wulf@hotdog.ping.apana.org.AU>
From: Chris G Demetriou <Chris_G_Demetriou@UX2.SP.CS.CMU.EDU>
List: port-alpha
Date: 05/23/1996 19:31:38
> > (2) UNION is known to have ... interesting effects. I don't
> > suggest that people use it unless they have to.
> >
>
> I had to modify the union_vnops.c file in order to make the compiler
> happy by removing the cast (unsigned int):
>
> 1701,1702c1701,1702
> < vp, UPPERVP(vp),
> < LOWERVP(vp));
> ---
> > (unsigned int) vp, (unsigned int) UPPERVP(vp),
> > (unsigned int) LOWERVP(vp));
Actually, the right thing to do with these is both remove the casts
and change the printf specs to %p.
i'm just about to commit a change which does that.
chris