Determing alignment of (char *) pointer

Henry Spencer henry at utzoo.UUCP
Tue Dec 9 03:40:15 AEST 1986


> ... Neither of the casts should be necessary, actually...

Argh, I must have been half-asleep when I typed that.  Of course, the
second cast remains necessary, to ensure that it's pointer subtraction
rather than decrementing a pointer by zero.  Sorry about that.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,decvax,pyramid}!utzoo!henry



More information about the Comp.lang.c mailing list