Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!gwyn@brl-vld From: gwyn%brl-vld@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: read(fd,&y, sizeof y) Message-ID: <17159@sri-arpa.UUCP> Date: Sun, 4-Mar-84 04:33:50 EST Article-I.D.: sri-arpa.17159 Posted: Sun Mar 4 04:33:50 1984 Date-Received: Fri, 9-Mar-84 01:22:22 EST Lines: 11 From: Doug Gwyn (VLD/VMB)The (char *) is not "just to please lint". Different pointer types in general have different sizes so one MUST coerce the pointer to the type expected by the function. I know of C (not UNIX) implementations where the cast is definitely necessary. This usually occurs on word-addressible machines where a (char *) cannot be fully contained in a single word. You seem to have a funny idea about "lint"'s purpose.