Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site bnl.UUCP Path: utzoo!linus!philabs!sbcs!bnl!mab From: mab@bnl.UUCP (Michael A. Bloom) Newsgroups: net.lang.c Subject: Re: Casting Pointers Message-ID: <335@bnl.UUCP> Date: Sun, 29-Jan-84 02:03:31 EST Article-I.D.: bnl.335 Posted: Sun Jan 29 02:03:31 1984 Date-Received: Sun, 29-Jan-84 22:20:07 EST References: <354@houxt.UUCP> Lines: 15 To avoid flames: yes, I know what I am doing is non- portable. I am not trying to write portable code. I am trying to write a fast copy for a 68000. I have checked that the pointers are really word-aligned. If this is the case, then you dont want casts. I've noticed (while using adb) that using casts generates calls to routines that will perform type conversion, rather than the inline code you might expect. Michael Bloom -- Michael A. Bloom ..!bnl!mab or mcb@mit-mc.arpa or mab@bnl