Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Bug in new K&R?
Message-ID: <1988May8.030225.18105@utzoo.uucp>
Organization: U of Toronto Zoology
References: <44200009@uicsrd.csrd.uiuc.edu>
Date: Sun, 8 May 88 03:02:25 GMT

> Are those two casts portable---is it guaranteed that "void *" and
> "char *" have the same internal representation? ...

Yes.  X3J11 decided to require this.  If for no other reason, because
making them different will break thousands of old programs that pass
"char *" to library functions that are now officially defined to take
parameters of type "void *".
-- 
NASA is to spaceflight as            |  Henry Spencer @ U of Toronto Zoology
the Post Office is to mail.          | {ihnp4,decvax,uunet!mnetor}!utzoo!henry