Newsgroups: comp.std.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Casting Function Pointers Message-ID: <1991May25.221756.16182@zoo.toronto.edu> Date: Sat, 25 May 1991 22:17:56 GMT References: <1145@mwtech.UUCP> <1991May24.005025.7714@tkou02.enet.dec.com> <16259@smoke.brl.mil> Organization: U of Toronto Zoology In article <16259@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes: >I'm not aware of any changes between the final draft of K&R2 (first printing) >and the official C standard that would make K&R2 less correct... I know of at least one -- it's no longer promised that casting a pointer to integer and back preserves its value if the integer is big enough -- and there are probably a few more. -- "We're thinking about upgrading from | Henry Spencer @ U of Toronto Zoology SunOS 4.1.1 to SunOS 3.5." | henry@zoo.toronto.edu utzoo!henry