Xref: utzoo comp.unix.xenix:2549 comp.lang.c:10953 Path: utzoo!attcan!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.xenix,comp.lang.c Subject: Re: lint on Altos 2000 is BROKE BROKE BROKE! Message-ID: <8173@brl-smoke.ARPA> Date: 27 Jun 88 15:39:04 GMT References: <256@oglvee.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <256@oglvee.UUCP> jr@oglvee.UUCP (Jim Rosenberg) writes: >I don't believe this!!! Complaining because a struct * is cast to a char *?? Assuming your C implementation supports void *, there SHOULD be a complaint. Try (char *)(void *)whatever if you really have to do this, or better yet don't use (char *) as a generic type.