Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: C union problems (or is a pointer a pointer?) Keywords: C, Pascal, pointer, union, variant Message-ID: <10151@smoke.BRL.MIL> Date: 27 Apr 89 12:52:37 GMT References: <15058@sequent.UUCP> <2700@tekcae.CAX.TEK.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <2700@tekcae.CAX.TEK.COM> kurtk@tekcae.CAX.TEK.COM (Kurt Krueger) writes: >Casting a pointer is really a NOP No! This is a common misconception. Pointer casting can involve change in representation, and when converting between pointer to char and pointers to wider types it often does.