Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!henry
From: henry@utzoo.UUCP (Henry Spencer)
Newsgroups: comp.lang.c
Subject: Re: structure element offsets
Message-ID: <7445@utzoo.UUCP>
Date: Mon, 22-Dec-86 19:28:38 EST
Article-I.D.: utzoo.7445
Posted: Mon Dec 22 19:28:38 1986
Date-Received: Mon, 22-Dec-86 19:28:38 EST
References: <1096@spice.cs.cmu.edu> <7377@utzoo.UUCP>, <588@mcgill-vision.UUCP>
Organization: U of Toronto Zoology
Lines: 12

> > Or perhaps you were thinking of (type *)(long)x == x ?  That would
> > make me nervous but it is technically valid.
> 
> Is it?  [... Maybe long isn't long enough. ...]

This is why it makes me nervous.  I would expect trouble in particular
on machines with long and pointers the same size *except* that char
pointers are longer because the original pointer format didn't provide
addressing to the byte.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,decvax,pyramid}!utzoo!henry