Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: %p and different pointer representations Message-ID: <9706@smoke.BRL.MIL> Date: 25 Feb 89 02:20:01 GMT References: <9382@bloom-beacon.MIT.EDU> <234@mstan.Morgan.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 5 In article <234@mstan.Morgan.COM> dff@Morgan.COM (Daniel F. Fisher) writes: >To what type should a pointer argument be cast when passing it to >fprintf() for printing using the %p conversion specifier? (void *), or, since it has the same representation, (char *).